mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
943db62c31
This reverts commitec99907244
("powerpc/pseries: Auto-online hotplugged memory"), and9dc512819e
("powerpc: Fix unused function warning 'lmb_to_memblock'"). Using the auto-online acpability does online added memory but does not update the associated device struct to indicate that the memory is online. This causes the pseries memory DLPAR code to fail when trying to remove a LMB that was previously removed and added back. This happens when validating that the LMB is removable. This patch reverts to the previous behavior of calling device_online() to online the LMB when it is DLPAR added and moves the lmb_to_memblock() routine out of CONFIG_MEMORY_HOTREMOVE now that we call it for add. Fixes:ec99907244
("powerpc/pseries: Auto-online hotplugged memory") Cc: stable@vger.kernel.org # v4.8+ Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
333 lines
6.9 KiB
Plaintext
333 lines
6.9 KiB
Plaintext
CONFIG_PPC64=y
|
|
CONFIG_SMP=y
|
|
CONFIG_NR_CPUS=2048
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_POSIX_MQUEUE=y
|
|
CONFIG_FHANDLE=y
|
|
CONFIG_AUDIT=y
|
|
CONFIG_AUDITSYSCALL=y
|
|
CONFIG_IRQ_DOMAIN_DEBUG=y
|
|
CONFIG_NO_HZ=y
|
|
CONFIG_HIGH_RES_TIMERS=y
|
|
CONFIG_TASKSTATS=y
|
|
CONFIG_TASK_DELAY_ACCT=y
|
|
CONFIG_TASK_XACCT=y
|
|
CONFIG_TASK_IO_ACCOUNTING=y
|
|
CONFIG_IKCONFIG=y
|
|
CONFIG_IKCONFIG_PROC=y
|
|
CONFIG_LOG_BUF_SHIFT=18
|
|
CONFIG_LOG_CPU_MAX_BUF_SHIFT=13
|
|
CONFIG_NUMA_BALANCING=y
|
|
CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y
|
|
CONFIG_CGROUPS=y
|
|
CONFIG_CGROUP_FREEZER=y
|
|
CONFIG_CGROUP_DEVICE=y
|
|
CONFIG_CPUSETS=y
|
|
CONFIG_CGROUP_CPUACCT=y
|
|
CONFIG_CGROUP_BPF=y
|
|
CONFIG_MEMCG=y
|
|
CONFIG_MEMCG_SWAP=y
|
|
CONFIG_CGROUP_PERF=y
|
|
CONFIG_CGROUP_SCHED=y
|
|
CONFIG_USER_NS=y
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
CONFIG_BPF_SYSCALL=y
|
|
# CONFIG_COMPAT_BRK is not set
|
|
CONFIG_PROFILING=y
|
|
CONFIG_OPROFILE=y
|
|
CONFIG_KPROBES=y
|
|
CONFIG_JUMP_LABEL=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_MODVERSIONS=y
|
|
CONFIG_MODULE_SRCVERSION_ALL=y
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_PPC_SPLPAR=y
|
|
CONFIG_SCANLOG=m
|
|
CONFIG_PPC_SMLPAR=y
|
|
CONFIG_DTL=y
|
|
# CONFIG_PPC_PMAC is not set
|
|
CONFIG_RTAS_FLASH=m
|
|
CONFIG_IBMEBUS=y
|
|
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
|
CONFIG_HZ_100=y
|
|
CONFIG_BINFMT_MISC=m
|
|
CONFIG_PPC_TRANSACTIONAL_MEM=y
|
|
CONFIG_KEXEC=y
|
|
CONFIG_KEXEC_FILE=y
|
|
CONFIG_IRQ_ALL_CPUS=y
|
|
CONFIG_MEMORY_HOTPLUG=y
|
|
CONFIG_MEMORY_HOTREMOVE=y
|
|
CONFIG_KSM=y
|
|
CONFIG_TRANSPARENT_HUGEPAGE=y
|
|
CONFIG_PPC_64K_PAGES=y
|
|
CONFIG_PPC_SUBPAGE_PROT=y
|
|
CONFIG_SCHED_SMT=y
|
|
CONFIG_HOTPLUG_PCI=y
|
|
CONFIG_HOTPLUG_PCI_RPA=m
|
|
CONFIG_HOTPLUG_PCI_RPA_DLPAR=m
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_XFRM_USER=m
|
|
CONFIG_NET_KEY=m
|
|
CONFIG_INET=y
|
|
CONFIG_IP_MULTICAST=y
|
|
CONFIG_NET_IPIP=y
|
|
CONFIG_SYN_COOKIES=y
|
|
CONFIG_INET_AH=m
|
|
CONFIG_INET_ESP=m
|
|
CONFIG_INET_IPCOMP=m
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_NETFILTER=y
|
|
# CONFIG_NETFILTER_ADVANCED is not set
|
|
CONFIG_BRIDGE=m
|
|
CONFIG_VLAN_8021Q=m
|
|
CONFIG_NET_SCHED=y
|
|
CONFIG_NET_CLS_BPF=m
|
|
CONFIG_NET_CLS_ACT=y
|
|
CONFIG_NET_ACT_BPF=m
|
|
CONFIG_BPF_JIT=y
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_PARPORT=m
|
|
CONFIG_PARPORT_PC=m
|
|
CONFIG_BLK_DEV_FD=m
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_NBD=m
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_BLK_DEV_RAM_SIZE=65536
|
|
CONFIG_VIRTIO_BLK=m
|
|
CONFIG_BLK_DEV_SD=y
|
|
CONFIG_CHR_DEV_ST=m
|
|
CONFIG_BLK_DEV_SR=y
|
|
CONFIG_BLK_DEV_SR_VENDOR=y
|
|
CONFIG_CHR_DEV_SG=y
|
|
CONFIG_SCSI_CONSTANTS=y
|
|
CONFIG_SCSI_FC_ATTRS=y
|
|
CONFIG_SCSI_CXGB3_ISCSI=m
|
|
CONFIG_SCSI_CXGB4_ISCSI=m
|
|
CONFIG_SCSI_BNX2_ISCSI=m
|
|
CONFIG_BE2ISCSI=m
|
|
CONFIG_SCSI_MPT2SAS=m
|
|
CONFIG_SCSI_IBMVSCSI=y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_I=y
|
|
CONFIG_PCNET32=m
|
|
CONFIG_TIGON3=y
|
|
CONFIG_BNX2X=m
|
|
CONFIG_CHELSIO_T1=m
|
|
CONFIG_BE2NET=m
|
|
CONFIG_S2IO=m
|
|
CONFIG_IBMVETH=y
|
|
CONFIG_EHEA=y
|
|
CONFIG_E100=y
|
|
CONFIG_E1000=y
|
|
CONFIG_E1000E=y
|
|
CONFIG_IXGB=m
|
|
CONFIG_IXGBE=m
|
|
CONFIG_I40E=m
|
|
CONFIG_MLX4_EN=m
|
|
CONFIG_MYRI10GE=m
|
|
CONFIG_QLGE=m
|
|
CONFIG_NETXEN_NIC=m
|
|
CONFIG_PPP=m
|
|
CONFIG_PPP_BSDCOMP=m
|
|
CONFIG_PPP_DEFLATE=m
|
|
CONFIG_PPPOE=m
|
|
CONFIG_PPP_ASYNC=m
|
|
CONFIG_PPP_SYNC_TTY=m
|
|
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
CONFIG_INPUT_EVDEV=m
|
|
CONFIG_INPUT_MISC=y
|
|
CONFIG_INPUT_PCSPKR=m
|
|
# CONFIG_SERIO_SERPORT is not set
|
|
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_SERIAL_ICOM=m
|
|
CONFIG_SERIAL_JSM=m
|
|
CONFIG_HVC_CONSOLE=y
|
|
CONFIG_HVC_RTAS=y
|
|
CONFIG_HVCS=m
|
|
CONFIG_VIRTIO_CONSOLE=m
|
|
CONFIG_IBM_BSR=m
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_GENERIC=y
|
|
CONFIG_RAW_DRIVER=y
|
|
CONFIG_MAX_RAW_DEVS=1024
|
|
CONFIG_FB=y
|
|
CONFIG_FIRMWARE_EDID=y
|
|
CONFIG_FB_OF=y
|
|
CONFIG_FB_MATROX=y
|
|
CONFIG_FB_MATROX_MILLENIUM=y
|
|
CONFIG_FB_MATROX_MYSTIQUE=y
|
|
CONFIG_FB_MATROX_G=y
|
|
CONFIG_FB_RADEON=y
|
|
CONFIG_FB_IBM_GXT4500=y
|
|
CONFIG_LCD_PLATFORM=m
|
|
# CONFIG_VGA_CONSOLE is not set
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
CONFIG_HID_GYRATION=y
|
|
CONFIG_HID_PANTHERLORD=y
|
|
CONFIG_HID_PETALYNX=y
|
|
CONFIG_HID_SAMSUNG=y
|
|
CONFIG_HID_SUNPLUS=y
|
|
CONFIG_USB_HIDDEV=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MON=m
|
|
CONFIG_USB_EHCI_HCD=y
|
|
# CONFIG_USB_EHCI_HCD_PPC_OF is not set
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_STORAGE=m
|
|
CONFIG_INFINIBAND=m
|
|
CONFIG_INFINIBAND_USER_MAD=m
|
|
CONFIG_INFINIBAND_USER_ACCESS=m
|
|
CONFIG_INFINIBAND_MTHCA=m
|
|
CONFIG_INFINIBAND_CXGB3=m
|
|
CONFIG_INFINIBAND_CXGB4=m
|
|
CONFIG_MLX4_INFINIBAND=m
|
|
CONFIG_INFINIBAND_IPOIB=m
|
|
CONFIG_INFINIBAND_IPOIB_CM=y
|
|
CONFIG_INFINIBAND_SRP=m
|
|
CONFIG_INFINIBAND_ISER=m
|
|
CONFIG_VIRTIO_PCI=m
|
|
CONFIG_VIRTIO_BALLOON=m
|
|
CONFIG_FS_DAX=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT2_FS_XATTR=y
|
|
CONFIG_EXT2_FS_POSIX_ACL=y
|
|
CONFIG_EXT2_FS_SECURITY=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
|
CONFIG_EXT4_FS_SECURITY=y
|
|
CONFIG_JFS_FS=m
|
|
CONFIG_JFS_POSIX_ACL=y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