android_kernel_xiaomi_sm8350/arch/powerpc/platforms/pseries
Badari Pulavarty 98d5c21c81 [POWERPC] Update lmb data structures for hotplug memory add/remove
The powerpc kernel maintains information about logical memory blocks
in the lmb.memory structure, which is initialized and updated at boot
time, but not when memory is added or removed while the kernel is
running.

This adds a hotplug memory notifier which updates lmb.memory when
memory is added or removed.  This information is useful for eHEA
driver to find out the memory layout and holes.

NOTE: No special locking is needed for lmb_add() and lmb_remove().
Calls to these are serialized by caller. (pSeries_reconfig_chain).

Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-29 15:57:53 +10:00
..
eeh_cache.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
eeh_driver.c
eeh_event.c
eeh_sysfs.c
eeh.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
firmware.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
hotplug-cpu.c [POWERPC] Split xics_teardown_cpu() 2008-02-07 11:40:19 +11:00
hotplug-memory.c [POWERPC] Update lmb data structures for hotplug memory add/remove 2008-04-29 15:57:53 +10:00
hvCall_inst.c
hvCall.S
hvconsole.c
hvcserver.c
iommu.c [POWERPC] Convert from DBG() to pr_debug() in platforms/pseries/ 2008-04-24 21:08:12 +10:00
Kconfig [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
kexec.c [POWERPC] Split xics_teardown_cpu() 2008-02-07 11:40:19 +11:00
lpar.c [POWERPC] Convert from DBG() to pr_debug() in platforms/pseries/ 2008-04-24 21:08:12 +10:00
Makefile [POWERPC] Hotplug memory remove notifications for powerpc 2008-04-29 15:57:52 +10:00
msi.c
nvram.c
pci_dlpar.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6 2008-04-21 15:58:35 -07:00
pci.c
phyp_dump.c [POWERPC] pseries/phyp dump: Reserve a variable amount of space at boot 2008-04-17 07:46:14 +10:00
plpar_wrappers.h
power.c [POWERPC] Fix warning in pseries/power.c 2008-02-20 13:33:37 +11:00
pseries.h [POWERPC] Move prototype for find_udbg_vterm() into a header file 2008-04-17 10:00:59 +10:00
ras.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
reconfig.c [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
rtasd.c [POWERPC] Convert from DBG() to pr_debug() in platforms/pseries/ 2008-04-24 21:08:12 +10:00
scanlog.c [POWERPC] Convert from DBG() to pr_debug() in platforms/pseries/ 2008-04-24 21:08:12 +10:00
setup.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
smp.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
xics.c [POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries 2008-04-24 21:08:12 +10:00
xics.h [POWERPC] Move xics_setup_8259_cascade() into platforms/pseries/setup.c 2008-04-18 15:36:10 +10:00