Leonardo Bras 0911a60c76 ppc/spapr: Add hotremovable flag on DIMM LMBs on drmem_v2
On reboot, all memory that was previously added using object_add and
device_add is placed in this DIMM area.

The new SPAPR_LMB_FLAGS_HOTREMOVABLE flag helps Linux to put this memory in
the correct memory zone, so no unmovable allocations are made there,
allowing the object to be easily hot-removed by device_del and
object_del.

This new flag was accepted in Power Architecture documentation.

Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Reviewed-by: Bharata B Rao <bharata@linux.ibm.com>
Message-Id: <20200511200201.58537-1-leobras.c@gmail.com>
[dwg: Fixed syntax error spotted by Cédric Le Goater]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-05-27 15:29:36 +10:00
..
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2020-04-30 11:52:27 +01:00
2020-05-06 10:12:16 -04:00
2019-08-16 13:31:53 +02:00
2020-05-04 10:25:02 -04:00
2019-06-12 13:20:21 +02:00
2019-09-07 08:31:51 +02:00
2019-08-16 13:31:52 +02:00
2020-04-30 11:52:28 +01:00
2019-10-28 19:06:47 +01:00
2019-06-12 13:20:21 +02:00
2020-05-04 10:25:02 -04:00
2020-05-15 07:08:14 +02:00
2020-05-15 07:08:14 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2020-03-29 09:52:13 -04:00
2020-05-15 07:08:14 +02:00
2019-08-16 13:31:52 +02:00
2020-05-06 10:12:16 -04:00
2018-12-11 15:45:22 -02:00
2019-08-16 13:31:52 +02:00
2019-11-05 23:33:12 +01:00
2019-08-16 13:31:53 +02:00
2020-05-15 07:08:14 +02:00
2019-06-12 13:20:21 +02:00
2020-01-07 16:06:59 +04:00
2020-05-15 07:08:14 +02:00