[PATCH v4 00/10] Add sysfs interface files to hv_gpci device to expose system information

2023-07-29 Thread Kajol Jain
The hcall H_GET_PERF_COUNTER_INFO can be used to get data related to chips, dimms and system topology, by passing different counter request values. Patchset adds sysfs files to "/sys/devices/hv_gpci/interface/" of hv_gpci pmu driver, which will expose system topology information using H_GET_PERF_CO

[PATCH v4 08/10] docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document affinity_domain_via_domain sysfs interface file

2023-07-29 Thread Kajol Jain
Add details of the new hv-gpci interface file called "affinity_domain_via_domain" in the ABI documentation. Reviewed-by: Athira Rajeev Signed-off-by: Kajol Jain --- .../sysfs-bus-event_source-devices-hv_gpci| 32 +++ 1 file changed, 32 insertions(+) diff --git a/Documentati

[PATCH v4 02/10] docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document processor_bus_topology sysfs interface file

2023-07-29 Thread Kajol Jain
Add details of the new hv-gpci interface file called "processor_bus_topology" in the ABI documentation. Reviewed-by: Athira Rajeev Signed-off-by: Kajol Jain --- .../sysfs-bus-event_source-devices-hv_gpci| 32 +++ 1 file changed, 32 insertions(+) diff --git a/Documentation/A

[PATCH v4 09/10] powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show affinity domain via partition information

2023-07-29 Thread Kajol Jain
The hcall H_GET_PERF_COUNTER_INFO with counter request value as AFFINITY_DOMAIN_INFORMATION_BY_PARTITION(0XB1), can be used to get the system affinity domain via partition information. To expose the system affinity domain via partition information, patch adds sysfs file called "affinity_domain_via_

[PATCH v4 10/10] docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document affinity_domain_via_partition sysfs interface file

2023-07-29 Thread Kajol Jain
Add details of the new hv-gpci interface file called "affinity_domain_via_partition" in the ABI documentation. Reviewed-by: Athira Rajeev Signed-off-by: Kajol Jain --- .../sysfs-bus-event_source-devices-hv_gpci| 32 +++ 1 file changed, 32 insertions(+) diff --git a/Document

[PATCH v4 01/10] powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show processor bus topology information

2023-07-29 Thread Kajol Jain
The hcall H_GET_PERF_COUNTER_INFO with counter request value as PROCESSOR_BUS_TOPOLOGY(0XD0), can be used to get the system topology information. To expose the system topology information, patch adds sysfs file called "processor_bus_topology" to the "/sys/devices/hv_gpci/interface/" of hv_gpci pmu

Re: [PATCH 1/1] perf tests task_analyzer: Check perf build options for libtraceevent support

2023-07-29 Thread Aditya Gupta
On Fri, Jul 28, 2023 at 11:54:11AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jul 25, 2023 at 11:46:49AM +0530, Aditya Gupta escreveu: > > Currently we depend on output of 'perf record -e "sched:sched_switch"', to > > check whether perf was built with libtraceevent support. > > > > Instead,

[PATCH v4 03/10] powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show processor config information

2023-07-29 Thread Kajol Jain
The hcall H_GET_PERF_COUNTER_INFO with counter request value as PROCESSOR_CONFIG(0X90), can be used to get the system processor configuration information. To expose the system processor config information, patch adds sysfs file called "processor_config" to the "/sys/devices/hv_gpci/interface/" of h

[PATCH v4 06/10] docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document affinity_domain_via_virtual_processor sysfs interface file

2023-07-29 Thread Kajol Jain
Add details of the new hv-gpci interface file called "affinity_domain_via_virtual_processor" in the ABI documentation. Reviewed-by: Athira Rajeev Signed-off-by: Kajol Jain --- .../sysfs-bus-event_source-devices-hv_gpci| 32 +++ 1 file changed, 32 insertions(+) diff --git a/

Re: [PATCH] powerpc/mm/altmap: Fix altmap boundary check

2023-07-29 Thread Michael Ellerman
On Mon, 24 Jul 2023 23:43:20 +0530, Aneesh Kumar K.V wrote: > altmap->free includes the entire free space from which altmap blocks > can be allocated. So when checking whether the kernel is doing altmap > block free, compute the boundary correctly. > > Applied to powerpc/fixes. [1/1] powerpc/mm

Re: [PATCH] powerpc/ftrace: Create a dummy stackframe to fix stack unwind

2023-07-29 Thread Michael Ellerman
On Wed, 21 Jun 2023 10:43:49 +0530, Naveen N Rao wrote: > With ppc64 -mprofile-kernel and ppc32 -pg, profiling instructions to > call into ftrace are emitted right at function entry. The instruction > sequence used is minimal to reduce overhead. Crucially, a stackframe is > not created for the func

[PATCH v4 04/10] docs: ABI: sysfs-bus-event_source-devices-hv_gpci: Document processor_config sysfs interface file

2023-07-29 Thread Kajol Jain
Add details of the new hv-gpci interface file called "processor_config" in the ABI documentation. Reviewed-by: Athira Rajeev Signed-off-by: Kajol Jain --- .../sysfs-bus-event_source-devices-hv_gpci| 32 +++ 1 file changed, 32 insertions(+) diff --git a/Documentation/ABI/tes

[PATCH v4 05/10] powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show affinity domain via virtual processor information

2023-07-29 Thread Kajol Jain
The hcall H_GET_PERF_COUNTER_INFO with counter request value as AFFINITY_DOMAIN_INFORMATION_BY_VIRTUAL_PROCESSOR(0XA0), can be used to get the system affinity domain via virtual processor information. To expose the system affinity domain via virtual processor information, patch adds sysfs file call

Re: Login broken with old userspace (was Re: [PATCH v2] selinux: introduce an initial SID for early boot processes)

2023-07-29 Thread Michael Ellerman
Ondrej Mosnacek writes: > On Fri, Jul 28, 2023 at 4:12 AM Michael Ellerman wrote: >> >> Ondrej Mosnacek writes: >> > Currently, SELinux doesn't allow distinguishing between kernel threads >> > and userspace processes that are started before the policy is first >> > loaded - both get the label co

[PATCH v4 07/10] powerpc/hv_gpci: Add sysfs file inside hv_gpci device to show affinity domain via domain information

2023-07-29 Thread Kajol Jain
The hcall H_GET_PERF_COUNTER_INFO with counter request value as AFFINITY_DOMAIN_INFORMATION_BY_DOMAIN(0XB0), can be used to get the system affinity domain via domain information. To expose the system affinity domain via domain information, patch adds sysfs file called "affinity_domain_via_domain" t

Re: [PATCH v3 1/2] powerpc/mm: Cleanup memory block size probing

2023-07-29 Thread kernel test robot
kernel/git/powerpc/linux.git next patch link: https://lore.kernel.org/r/20230728103556.745681-1-aneesh.kumar%40linux.ibm.com patch subject: [PATCH v3 1/2] powerpc/mm: Cleanup memory block size probing config: powerpc-powernv_defconfig (https://download.01.org/0day-ci/archive/20230729/20230729175

Re: [PATCH] arch/powerpc: Remove unnecessary endian conversion code in XICS

2023-07-29 Thread Michael Ellerman
Gautam Menghani writes: > On Thu, Jul 06, 2023 at 05:50:57PM +1000, Jordan Niethe wrote: >> On 30/6/23 3:56 pm, Gautam Menghani wrote: >> > Remove an unnecessary piece of code that does an endianness conversion but >> > does not use the result. The following warning was reported by Clang's >> > st

Re: [PATCH v3 1/2] powerpc/mm: Cleanup memory block size probing

2023-07-29 Thread Aneesh Kumar K V
On 7/29/23 3:25 AM, Reza Arbab wrote: > On Fri, Jul 28, 2023 at 04:05:55PM +0530, Aneesh Kumar K.V wrote: >> --- a/arch/powerpc/mm/init_64.c >> +++ b/arch/powerpc/mm/init_64.c > [snip] >> +    /* >> + * "ibm,coherent-device-memory with linux,usable-memory = 0 >> + * Force 256MiB block size.

[powerpc:fixes-test] BUILD SUCCESS 41a506ef71eb38d94fe133f565c87c3e06ccc072

2023-07-29 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: 41a506ef71eb38d94fe133f565c87c3e06ccc072 powerpc/ftrace: Create a dummy stackframe to fix stack unwind elapsed time: 720m configs tested: 23 configs skipped: 176 The following configs have b

[powerpc:next-test] BUILD SUCCESS d6582c259cbf4d8ba894e7243f31f26e7c6ff387

2023-07-29 Thread kernel test robot
successfully. More configs may be tested in the coming days. tested configs: alphaallyesconfig gcc alpha defconfig gcc alpharandconfig-r012-20230729 gcc alpharandconfig-r022-20230729 gcc alpha

[powerpc:merge] BUILD SUCCESS c3cad890877f59aeeaf5a638aa7a7c0612c16fa1

2023-07-29 Thread kernel test robot
gcc arc randconfig-r043-20230728 gcc arc randconfig-r043-20230729 gcc arm allmodconfig gcc arm allyesconfig gcc arm defconfig gcc arm

[powerpc:topic/cpu-smt] BUILD SUCCESS 265bb41db415b7132568585ee55a124dd0dbde14

2023-07-29 Thread kernel test robot
configs have been built successfully. More configs may be tested in the coming days. tested configs: alphaallyesconfig gcc alpha defconfig gcc alpharandconfig-r024-20230729 gcc arc