tree nodes for DLPAR IO
add")
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/pseries/dlpar.c | 52 +-
1 file changed, 50 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/dlpar.c
b/arch/powerpc/platforms/pseries/dlpar.c
index 21
l Attestation API
<mailto:linuxppc-dev>"
Reported-by: Stephen Rothwell
Signed-off-by: Haren Myneni
Fixes: 43d869ac25f1 ("powerpc/pseries: Define papr_indices_io_block for
papr-indices ioctls")
Fixes: 8aa9efc0be66 ("powerpc/pseries: Add papr-platform-dump c
5735.034ba...@canb.auug.org.au/
Reported-by: Stephen Rothwell
Signed-off-by: Haren Myneni
---
arch/powerpc/include/uapi/asm/papr-platform-dump.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/include/uapi/asm/papr-platform-dump.h
b/arch/powerpc/include/uapi/asm/papr-platform-du
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/ker
v2:
- Added unlock rtas_ibm_set_dynamic_indicator_lock and
rtas_ibm_get_dynamic_sensor_state_lock mutex for failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (7):
powerpc/pseries: Define common functio
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
Tested-by: Sathvika Vasireddy
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/ps
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
Tested-by: Sathvika Vasireddy
---
arch/power
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
Tested-by: Sathvika Vasireddy
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pserie
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
Tested-by: Sathvika
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
Tested-by: Sathvika Vasireddy
---
arch/powerpc/include/asm/rtas.h |
for the input
indicator.
Signed-off-by: Haren Myneni
Tested-by: Sathvika Vasireddy
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/uapi/asm/papr-indices.h | 41 +++
2 files changed, 43 insertions(+)
create mode
for the input
indicator.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/uapi/asm/papr-indices.h | 41 +++
2 files changed, 43 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm
for the input
indicator.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/uapi/asm/papr-indices.h | 41 +++
2 files changed, 43 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
r failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (7):
powerpc/pseries: Define common functions for RTAS sequence calls
powerpc/pseries: Define papr_indices_io_block for papr-indi
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/ker
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c|
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc
On Wed, 2025-03-12 at 10:55 +0530, Mukesh Kumar Chaurasiya wrote:
> On Tue, Mar 11, 2025 at 03:50:42PM -0700, Haren Myneni wrote:
> > The RTAS call can be normal where retrieves the data form the
> > hypervisor once or sequence based RTAS call which has to
> > issue mul
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c|
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/ker
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
for the input
indicator.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/uapi/asm/papr-indices.h | 41 +++
2 files changed, 43 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc
al" patch).
v2:
- Added unlock rtas_ibm_set_dynamic_indicator_lock and
rtas_ibm_get_dynamic_sensor_state_lock mutex for failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (7
penter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (7):
powerpc/pseries: Define common functions for RTAS sequence calls
powerpc/pseries: Define papr_indices_io_block for papr-indices ioctls
powerpc/pseries: Add papr-indices
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/ker
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c|
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/ker
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c|
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
for the input
indicator.
Signed-off-by: Haren Myneni
---
.../userspace-api/ioctl/ioctl-number.rst | 2 +
arch/powerpc/include/uapi/asm/papr-indices.h | 41 +++
2 files changed, 43 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc
patch).
v2:
- Added unlock rtas_ibm_set_dynamic_indicator_lock and
rtas_ibm_get_dynamic_sensor_state_lock mutex for failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (7):
powerpc/ps
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c| 411 ++
3 files changed, 427 inserti
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platfor
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
for the input
indicator.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/uapi/asm/papr-indices.h | 41
1 file changed, 41 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm/papr-indices.h
diff --git a/arch/powerpc/include/uapi
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc
r failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (7):
powerpc/pseries: Define common functions for RTAS sequence calls
powerpc/pseries: Define papr_indices_io_block for papr-indices ioct
On Thu, 2025-02-06 at 20:53 +0100, Michal Suchánek wrote:
> On Thu, Feb 06, 2025 at 10:34:42AM -0800, Haren Myneni wrote:
> > On Thu, 2025-02-06 at 16:32 +0100, Michal Suchánek wrote:
> > > On Thu, Feb 06, 2025 at 07:28:14AM -0800, Haren Myneni wrote:
> > > > On
On Thu, 2025-02-06 at 16:32 +0100, Michal Suchánek wrote:
> On Thu, Feb 06, 2025 at 07:28:14AM -0800, Haren Myneni wrote:
> > On Thu, 2025-02-06 at 10:18 +0100, Michal Suchánek wrote:
> > > On Wed, Feb 05, 2025 at 11:51:19PM -0800, Haren Myneni wrote:
> > > > On
On Thu, 2025-02-06 at 10:18 +0100, Michal Suchánek wrote:
> On Wed, Feb 05, 2025 at 11:51:19PM -0800, Haren Myneni wrote:
> > On Wed, 2025-02-05 at 15:28 +0100, Michal Suchánek wrote:
> > > Hello,
> > >
> > > thanks for working on this!
> > >
> &g
is used to obtain data based on indicator and sensor,
not related to platform dump. ibm,platform-dump is used only on non-HMC
based systems and BMC interface initiates manually to save the dump on
tne partition. Sorry in case caused confusion in the previous
discussion.
>
>
> On Fri
cter driver for dump
retrieval" patch).
v2:
- Added unlock rtas_ibm_set_dynamic_indicator_lock and
rtas_ibm_get_dynamic_sensor_state_lock mutex for failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc
mplemented this new kernel ABI support in librtas library for
system lockdown
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
.../uapi/asm/papr-physical-attestation.h | 31 ++
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platfor
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c| 409 ++
3 files changed, 425 inserti
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
for the input
indicator.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/uapi/asm/papr-indices.h | 41
1 file changed, 41 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm/papr-indices.h
diff --git a/arch/powerpc/include/uapi
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c| 409 ++
3 files changed, 425 inserti
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
for the input
indicator.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/uapi/asm/papr-indices.h | 41
1 file changed, 41 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm/papr-indices.h
diff --git a/arch/powerpc/include/uapi
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch
gs for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (6):
powerpc/pseries: Define common functions for RTAS sequence calls
powerpc/pseries: Define papr_indices_io_block for papr-indices ioctls
powerpc/pseries: Add papr-indices char driver for ibm,g
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c| 408 ++
3 files changed, 424 inserti
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
including work area allocation.
End:RTAS call specific function to free up resources
(free work area) after the sequence is completed.
Work: The actual RTAS call specific function which collects
the data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch
for the input
indicator.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/uapi/asm/papr-indices.h | 41
1 file changed, 41 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm/papr-indices.h
diff --git a/arch/powerpc/include/uapi
rtas_ibm_set_dynamic_indicator_lock and
rtas_ibm_get_dynamic_sensor_state_lock mutex for failure cases
as reported by Dan Carpenter
- Fixed build warnings for the proper function parameter descriptions
as reported by kernel test robot
Haren Myneni (6):
powerpc/pseries: Define common functions for RTAS sequence calls
()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
.../include/uapi/asm/papr-platform-dump.h | 15 +
arch/powerpc/platforms/pseries/Makefile | 1 +
.../platforms/pseries/papr-platform-dump.c| 408 ++
3 files changed, 424 insertions(+)
OR_IOC_GET,
struct papr_indices_io_block)
- The user space specifies input parameters in
papr_indices_io_block struct
- Returned state for the specified sensor is copied to
papr_indices_io_block.dynamic_param.state
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h
DWR);
int ret = ioctl(fd, PAPR_DYNAMIC_INDICATOR_IOC_SET,
struct papr_indices_io_block)
- The user space passes input parameters in papr_indices_io_block
struct
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/ker
) for this new ABI for
system lockdown.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h | 1 +
arch/powerpc/kernel/rtas.c| 2 +-
arch/powerpc/platforms/pseries/Makefile | 2 +-
arch/powerpc/platforms/pseries/papr-indic
for the input
indicator.
Signed-off-by: Haren Myneni
---
arch/powerpc/include/uapi/asm/papr-indices.h | 41
1 file changed, 41 insertions(+)
create mode 100644 arch/powerpc/include/uapi/asm/papr-indices.h
diff --git a/arch/powerpc/include
dump
retrieval
- Introduce /dev/papr-platform-dump char driver and adds support for
ibm,platform-dump. Received suggestions from the previous post as a
separate patch - Updated the patch with invalidating the dump using
a separate ioctl.
Haren Myneni (6):
powerpc/pseries: Define common
work area allocation.
End:HCALL specific function to free up resources (free
work area) after the sequence is completed.
Work: The actual HCALL specific function which collects the
data from the hypervisor.
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/pseries
() before freeing VMA. The VMA
address in the VAS window is set to NULL after holding the window
mmap_mutex.
Fixes: 37e6764895ef ("powerpc/pseries/vas: Add VAS migration handler")
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/book3s/vas-api.c | 36 +
1 fi
On Thu, 2024-12-05 at 11:42 +0100, Michal Suchánek wrote:
> On Wed, Dec 04, 2024 at 06:14:06PM -0800, Haren Myneni wrote:
> > On Wed, 2024-12-04 at 17:57 +0100, Michal Suchánek wrote:
> > > On Mon, Dec 02, 2024 at 08:40:05PM -0800, Haren Myneni wrote:
> > > > On
On Wed, 2024-12-04 at 17:57 +0100, Michal Suchánek wrote:
> On Mon, Dec 02, 2024 at 08:40:05PM -0800, Haren Myneni wrote:
> > On Wed, 2024-11-27 at 10:11 +0100, Michal Suchánek wrote:
> > > On Tue, Nov 26, 2024 at 12:40:20PM -0800, Haren Myneni wrote:
> > > > On
On Wed, 2024-11-27 at 10:11 +0100, Michal Suchánek wrote:
> On Tue, Nov 26, 2024 at 12:40:20PM -0800, Haren Myneni wrote:
> > On Wed, 2024-11-27 at 00:42 +0530, Mahesh J Salgaonkar wrote:
> > > On 2024-11-23 21:20:39 Sat, Haren Myneni wrote:
> > > [.
On Wed, 2024-11-27 at 00:42 +0530, Mahesh J Salgaonkar wrote:
> On 2024-11-23 21:20:39 Sat, Haren Myneni wrote:
> [...]
> > +static ssize_t papr_platform_dump_handle_read(struct file *file,
> > + char __user *buf, size_t size, loff_t *off)
> > +{
> > + s
call and returns 0.
The read API should use the file descriptor obtained from ioctl
based on dump ID so that gets dump contents for the corresponding
dump ID. Implemented support in librtas (rtas_platform_dump()) for
this new ABI to support system lockdown.
Signed-off-by: Haren Myneni
---
On Wed, 2024-08-28 at 18:12 +1000, Michael Ellerman wrote:
> Hi Haren,
>
> One query below about the of_node refcounting.
>
> Haren Myneni writes:
> > In the powerpc-pseries specific implementation, the IO hotplug
> > event is handled in the user space (drmgr tool
/
properties to the device tree.
Signed-off-by: Scott Cheloha
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/pseries/dlpar.c | 130 +
1 file changed, 130 insertions(+)
diff --git a/arch/powerpc/platforms/pseries/dlpar.c
b/arch/powerpc/platforms/pseries/dlpar.c
space so that drmgr
tool can remove the corresponding device tree nodes based on DRC
index from the device tree.
Signed-off-by: Scott Cheloha
Signed-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h| 1 +
arch/powerpc/platforms/pseries/dlpar.c | 88 +-
2
t
Closes:
https://lore.kernel.org/oe-kbuild-all/202408182142.wuikqyae-...@intel.com/
Closes:
https://lore.kernel.org/oe-kbuild-all/202408182302.o7qro45s-...@intel.com/
Signed-off-by: Haren Myneni
v3:
- Fix warnings from using incorrect data types in pseries_hp_errorlog
struct
v2:
- Remove pr_i
t
Closes:
https://lore.kernel.org/oe-kbuild-all/202408182142.wuikqyae-...@intel.com/
Closes:
https://lore.kernel.org/oe-kbuild-all/202408182302.o7qro45s-...@intel.com/
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/pseries/dlpar.c| 24 ---
arch/powerpc/platform
space so that drmgr
tool can remove the corresponding device tree nodes based on DRC
index from the device tree.
Signed-off-by: Scott Cheloha
Signed-off-by: Haren Myneni
v2:
- Remove pr_info() and TODO comments
- Update more information in the commit logs
---
arch/powerpc/include/asm/rtas.h
/
properties to the device tree.
Signed-off-by: Scott Cheloha
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/pseries/dlpar.c | 130 +
1 file changed, 130 insertions(+)
diff --git a/arch/powerpc/platforms/pseries/dlpar.c
b/arch/powerpc/platforms/pseries/dlpar.c
-off-by: Scott Cheloha
Signed-off-by: Haren Myneni
---
arch/powerpc/platforms/pseries/dlpar.c | 134 +
1 file changed, 134 insertions(+)
diff --git a/arch/powerpc/platforms/pseries/dlpar.c
b/arch/powerpc/platforms/pseries/dlpar.c
index 993fd3e8f6ea..fb34d5859da8 100644
-off-by: Haren Myneni
---
arch/powerpc/include/asm/rtas.h| 1 +
arch/powerpc/platforms/pseries/dlpar.c | 87 +-
2 files changed, 87 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 065ffd1b2f8a
1 - 100 of 777 matches
Mail list logo