summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/kgdb.c
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>2016-02-09 02:47:45 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2016-02-10 14:30:56 +1100
commite4f226b1580b36550727c324b404207f8d2f3b71 (patch)
treeb82bf85d24eff279bb9c2de64898d35f401689d1 /arch/powerpc/kernel/kgdb.c
parentbe283eeb7f6d9165b3c50f5222123ac25cf0d417 (diff)
powerpc/perf/hv-gpci: Increase request buffer size
The GPCI hcall allows for a 4K buffer but we limit the buffer to 1K. The problem with a 1K buffer is if a request results in returning more values than can be accomodated in the 1K buffer the request will fail. The buffer we are using is currently allocated on the stack and hence limited in size. Instead use a per-CPU 4K buffer like we do with 24x7 counters (hv-24x7.c). While here, rename the macro GPCI_MAX_DATA_BYTES to HGPCI_MAX_DATA_BYTES for consistency with 24x7 counters. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/kgdb.c')
0 files changed, 0 insertions, 0 deletions