kernel-ark/arch/powerpc/platforms
Nishanth Aravamudan af442a1baa powerpc: Ensure dtl buffers do not cross 4k boundary
Future releases of fimrware will enforce a requirement that DTL buffers
do not cross a 4k boundary. Commit
127493d5dc satisfies this requirement for
CONFIG_VIRT_CPU_ACCOUNTING=y kernels, but if !CONFIG_VIRT_CPU_ACCOUNTING
&& CONFIG_DTL=y, the current code will fail at dtl registration time.
Fix this by making the kmem cache from
127493d5dc visible outside of setup.c and
using the same cache in both dtl.c and setup.c. This requires a bit of
reorganization to ensure ordering of the kmem cache and buffer
allocations.

Note: Since firmware now limits the size of the buffer, I made
dtl_buf_entries read-only in debugfs.

Tested with upcoming firmware with the 4 combinations of
CONFIG_VIRT_CPU_ACCOUNTING and CONFIG_DTL.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-05-19 14:30:41 +10:00
..
8xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
40x of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
44x powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
52xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
82xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
83xx Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-03-18 06:31:43 -07:00
85xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
86xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
512x powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
amigaone of/address: Clean up function declarations 2010-08-01 01:42:42 -06:00
cell powerpc: Convert old cpumask API into new one 2011-05-04 15:22:59 +10:00
chrp powerpc/smp: smp_ops->kick_cpu() should be able to fail 2011-04-20 17:01:18 +10:00
embedded6xx powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
iseries powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
maple powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
pasemi Fix common misspellings 2011-03-31 11:26:23 -03:00
powermac powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
prep
ps3 powerpc/ps3: Update debug message for irq_set_chip_data() 2011-04-27 14:18:39 +10:00
pseries powerpc: Ensure dtl buffers do not cross 4k boundary 2011-05-19 14:30:41 +10:00
wsp powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
fsl_uli1575.c PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refs 2010-02-23 09:43:31 -08:00
Kconfig powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00
Kconfig.cputype powerpc: Add Initiate Coprocessor Store Word (icswx) support 2011-05-04 15:19:26 +10:00
Makefile powerpc: Add WSP platform 2011-05-06 13:32:35 +10:00