linux_dsm_epyc7002/arch
David Hildenbrand ed7f9fec8c powernv/memtrace: always online added memory blocks
Let's always try to online the re-added memory blocks.  In case
add_memory() already onlined the added memory blocks, the first
device_online() call will fail and stop processing the remaining memory
blocks.

This avoids manually having to check memhp_auto_online.

Note: PPC always onlines all hotplugged memory directly from the kernel as
well - something that is handled by user space on other architectures.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Baoquan He <bhe@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: Wei Liu <wei.liu@kernel.org>
Cc: Yumei Huang <yuhuang@redhat.com>
Link: http://lkml.kernel.org/r/20200317104942.11178-5-david@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-07 10:43:40 -07:00
..
alpha pci-v5.7-changes 2020-04-03 14:25:02 -07:00
arc ARC updates for 5.7-rc1 2020-04-03 15:28:42 -07:00
arm This is the bulk of GPIO development for the v5.7 kernel cycle. 2020-04-04 10:27:00 -07:00
arm64 1) Improve getrandom and /dev/random's support for those arm64 2020-04-05 10:59:18 -07:00
c6x SCSI misc on 20200402 2020-04-02 17:03:53 -07:00
csky mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
h8300 asm-generic: make more kernel-space headers mandatory 2020-04-02 09:35:25 -07:00
hexagon mm: allow VM_FAULT_RETRY for multiple times 2020-04-02 09:35:30 -07:00
ia64 Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
m68k mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
microblaze Two reverts addressing regressions of the Xilinx interrupt controller 2020-04-05 11:57:12 -07:00
mips mm/vma: append unlikely() while testing VMA access permissions 2020-04-07 10:43:38 -07:00
nds32 SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
nios2 dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
openrisc dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
parisc SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
powerpc powernv/memtrace: always online added memory blocks 2020-04-07 10:43:40 -07:00
riscv SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
s390 s390 updates for the 5.7 merge window 2020-04-04 09:45:50 -07:00
sh mm/vma: make vma_is_accessible() available for general use 2020-04-07 10:43:37 -07:00
sparc SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
um Char/Misc driver patches for 5.7-rc1 2020-04-03 13:22:40 -07:00
unicore32 SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
x86 userfaultfd: wp: add pmd_swp_*uffd_wp() helpers 2020-04-07 10:43:39 -07:00
xtensa dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kconfig dma-mapping updates for 5.7 2020-04-04 10:12:47 -07:00