linux_dsm_epyc7002/drivers/base
Anton Blanchard 61b94feafa memory hotplug: Refuse to add unaligned memory regions
The sysfs memory probe interface allows unaligned regions
to be added:

# echo 0xffffff > /sys/devices/system/memory/probe

# cat /proc/iomem
00ffffff-01fffffe : System RAM
01ffffff-02fffffe : System RAM
02ffffff-03fffffe : System RAM
03ffffff-04fffffe : System RAM
04ffffff-05fffffe : System RAM

Return -EINVAL instead of creating these bad regions.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-26 16:21:14 -07:00
..
power PM / Domains: Fix build for CONFIG_PM_RUNTIME unset 2011-08-14 13:34:31 +02:00
regmap regmap: using module facilities requires module.h 2011-08-15 19:28:17 -07:00
attribute_container.c
base.h
bus.c
class.c
core.c dynamic_debug: Add __dynamic_dev_dbg 2011-08-22 18:23:04 -07:00
cpu.c
dd.c
devres.c
devtmpfs.c devtmpfs: missing initialialization in never-hit case 2011-07-27 22:27:33 -04:00
dma-coherent.c
dma-mapping.c
driver.c
firmware_class.c
firmware.c
hypervisor.c
init.c
isa.c
Kconfig Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 2011-07-25 23:06:24 -07:00
Makefile
map.c
memory.c memory hotplug: Refuse to add unaligned memory regions 2011-09-26 16:21:14 -07:00
module.c
node.c
platform.c new helper to create platform devices with dma mask 2011-08-26 11:31:09 -07:00
sys.c
syscore.c
topology.c
transport_class.c