Re: [PATCH v7 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-22 Thread kajoljain
On 7/23/21 11:16 AM, Pratik R. Sampat wrote: > Adds a generic interface to represent the energy and frequency related > PAPR attributes on the system using the new H_CALL > "H_GET_ENERGY_SCALE_INFO". > > H_GET_EM_PARMS H_CALL was previously responsible for exporting this > information in the lp

[PATCH v7 0/1] Interface to represent PAPR firmware attributes

2021-07-22 Thread Pratik R. Sampat
RFC: https://lkml.org/lkml/2021/6/4/791 PATCH v1: https://lkml.org/lkml/2021/6/16/805 PATCH v2: https://lkml.org/lkml/2021/7/6/138 PATCH v3: https://lkml.org/lkml/2021/7/12/2799 PATCH v4: https://lkml.org/lkml/2021/7/16/532 PATCH v5: https://lkml.org/lkml/2021/7/19/247 PATCH v6: https://lkml.org/lk

[PATCH v7 1/1] powerpc/pseries: Interface to represent PAPR firmware attributes

2021-07-22 Thread Pratik R. Sampat
Adds a generic interface to represent the energy and frequency related PAPR attributes on the system using the new H_CALL "H_GET_ENERGY_SCALE_INFO". H_GET_EM_PARMS H_CALL was previously responsible for exporting this information in the lparcfg, however the H_GET_EM_PARMS H_CALL will be deprecated

Re: [PATCH v5 10/11] powerpc/pseries/iommu: Make use of DDW for indirect mapping

2021-07-22 Thread Alexey Kardashevskiy
On 22/07/2021 01:04, Frederic Barrat wrote: On 21/07/2021 05:32, Alexey Kardashevskiy wrote: +    struct iommu_table *newtbl; +    int i; + +    for (i = 0; i < ARRAY_SIZE(pci->phb->mem_resources); i++) { +    const unsigned long mask = IORESOURCE_MEM_64 | IORESOURCE_ME

Re: [PATCH 1/2] PCI/AER: Disable AER interrupt during suspend

2021-07-22 Thread Christoph Hellwig
On Thu, Jul 22, 2021 at 05:23:51PM -0500, Bjorn Helgaas wrote: > Marking both of these as "not applicable" for now because I don't > think we really understand what's going on. > > Apparently a DMA occurs during suspend or resume and triggers an ACS > violation. I don't think think such a DMA sho

Re: [PATCH 1/2] PCI/AER: Disable AER interrupt during suspend

2021-07-22 Thread Bjorn Helgaas
On Fri, Feb 05, 2021 at 11:17:32PM +0800, Kai-Heng Feng wrote: > On Fri, Feb 5, 2021 at 7:28 AM Bjorn Helgaas wrote: > > > > [+cc Alex] > > > > On Thu, Jan 28, 2021 at 12:09:37PM +0800, Kai-Heng Feng wrote: > > > On Thu, Jan 28, 2021 at 4:51 AM Bjorn Helgaas wrote: > > > > On Thu, Jan 28, 2021 at

[PATCH v4 0/2] KVM: PPC: Book3S HV: Nested guest state sanitising changes

2021-07-22 Thread Fabiano Rosas
This series still aims to stop contaminating the l2_hv structure with bits that might have come from L1 state. Patch 1 makes l2_hv read-only (mostly). It is now only changed when we explicitly want to pass information to L1. Patch 2 makes sure that L1 is not forwarded HFU interrupts when the host

[PATCH v4 2/2] KVM: PPC: Book3S HV: Stop forwarding all HFUs to L1

2021-07-22 Thread Fabiano Rosas
If the nested hypervisor has no access to a facility because it has been disabled by the host, it should also not be able to see the Hypervisor Facility Unavailable that arises from one of its guests trying to access the facility. This patch turns a HFU that happened in L2 into a Hypervisor Emulat

[PATCH v4 1/2] KVM: PPC: Book3S HV: Sanitise vcpu registers in nested path

2021-07-22 Thread Fabiano Rosas
As one of the arguments of the H_ENTER_NESTED hypercall, the nested hypervisor (L1) prepares a structure containing the values of various hypervisor-privileged registers with which it wants the nested guest (L2) to run. Since the nested HV runs in supervisor mode it needs the host to write to these

Re: [PATCH] soc: fsl: qe: convert QE interrupt controller to platform_device

2021-07-22 Thread Li Yang
On Mon, Jul 19, 2021 at 1:57 AM Maxim Kochetkov wrote: > > 15.07.2021 01:29, Li Yang wrote: > > From the original code, this should be type = "qeic". It is not > > defined in current binding but probably needed for backward > > compatibility. > > I took these strings from this part: > >

Re: [PATCH v4 0/5] bus: Make remove callback return void

2021-07-22 Thread Greg Kroah-Hartman
On Wed, Jul 21, 2021 at 12:09:41PM +0200, Greg Kroah-Hartman wrote: > On Tue, Jul 13, 2021 at 09:35:17PM +0200, Uwe Kleine-König wrote: > > Hello, > > > > this is v4 of the final patch set for my effort to make struct > > bus_type::remove return void. > > > > The first four patches contain cleanu

Re: [PATCH v5 6/6] powerpc/pseries: Add support for FORM2 associativity

2021-07-22 Thread Aneesh Kumar K.V
David Gibson writes: > On Mon, Jun 28, 2021 at 08:41:17PM +0530, Aneesh Kumar K.V wrote: >> PAPR interface currently supports two different ways of communicating >> resource >> grouping details to the OS. These are referred to as Form 0 and Form 1 >> associativity grouping. Form 0 is the older f

Re: [PATCH v5 5/6] powerpc/pseries: Add a helper for form1 cpu distance

2021-07-22 Thread Aneesh Kumar K.V
David Gibson writes: > On Mon, Jun 28, 2021 at 08:41:16PM +0530, Aneesh Kumar K.V wrote: >> This helper is only used with the dispatch trace log collection. >> A later patch will add Form2 affinity support and this change helps >> in keeping that simpler. Also add a comment explaining we don't ex

Re: [PATCH v5 4/6] powerpc/pseries: Consolidate different NUMA distance update code paths

2021-07-22 Thread Aneesh Kumar K.V
David Gibson writes: > On Mon, Jun 28, 2021 at 08:41:15PM +0530, Aneesh Kumar K.V wrote: >> The associativity details of the newly added resourced are collected from >> the hypervisor via "ibm,configure-connector" rtas call. Update the numa >> distance details of the newly added numa node after t