Re: [PATCH v6 5/9] powerpc/ima: add measurement rules to ima arch specific policy

2019-09-28 Thread Mimi Zohar
On Fri, 2019-09-27 at 10:25 -0400, Nayna Jain wrote: > This patch adds the measurement rules to the arch specific policies for the > systems with trusted boot. > on trusted boot enabled systems. > Signed-off-by: Nayna Jain Minor comment correction below. Reviewed-by: Mimi Zohar > --- > ar

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.4-2 tag

2019-09-28 Thread pr-tracker-bot
The pull request you sent on Sat, 28 Sep 2019 22:14:15 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.4-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a2953204b576ea3ba4afd07b917811d50fc49778 Thank you! -- Deet-doot-do

Re: [PATCH] powerpc/papr_scm: Fix an off-by-one check in papr_scm_meta_{get, set}

2019-09-28 Thread Aneesh Kumar K.V
Vaibhav Jain writes: > A validation check to prevent out of bounds read/write inside > functions papr_scm_meta_{get,set}() is off-by-one that prevent reads > and writes to the last byte of the label area. > > This bug manifests as a failure to probe a dimm when libnvdimm is > unable to read the e

[PATCH 1/3] powerpc/pseries: Don't opencode HPTE_V_BOLTED

2019-09-28 Thread Aneesh Kumar K.V
No functional change in this patch. Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/platforms/pseries/lpar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/pseries/lpar.c b/arch/powerpc/platforms/pseries/lpar.c index 36b846f6e74e..fdd8933d15a2 100644

[PATCH 3/3] powerpc/book3s64/hash: Use secondary hash for bolted mapping if the primary is full

2019-09-28 Thread Aneesh Kumar K.V
With bolted hash page table entry, kernel currently only use primary hash group when inserting the hash page table entry. In the rare case where we find all the 8 primary hash slot occupied by bolted entries, this can result in hash page table insert failure for bolted entries. Avoid this by using

[PATCH 2/3] powerpc/pseries: Don't fail hash page table insert for bolted mapping

2019-09-28 Thread Aneesh Kumar K.V
If the hypervisor returned H_PTEG_FULL for H_ENTER hcall, retry a hash page table insert by removing a random entry from the group. After some runtime, it is very well possible to find all the 8 hash page table entry slot in the hpte group used for mapping. Don't fail a bolted entry insert in tha

Re: [PATCH v2 1/1] powerpc/pci: Fix pcibios_setup_device() ordering

2019-09-28 Thread Alexey Kardashevskiy
On 28/09/2019 04:33, Shawn Anastasio wrote: > On 9/9/19 2:59 AM, Alexey Kardashevskiy wrote: >> >> >> On 06/09/2019 05:13, Shawn Anastasio wrote: >>> Move PCI device setup from pcibios_add_device() and pcibios_fixup_bus() to >>> pcibios_bus_add_device(). This ensures that platform-specific DMA a

[GIT PULL] Please pull powerpc/linux.git powerpc-5.4-2 tag

2019-09-28 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull some more powerpc updates for 5.4: The following changes since commit 45824fc0da6e46cc5d563105e1eaaf3098a686f9: Merge tag 'powerpc-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2019-09-20 11:48:06

Re: [PATCH] powerpc/eeh: s/CONFIG_IOV/CONFIG_PCI_IOV/

2019-09-28 Thread Michael Ellerman
On Thu, 2019-09-26 at 12:25:02 UTC, Oliver O'Halloran wrote: > Whoops. > > Fixes: bd6461cc7b3c ("powerpc/eeh: Add a eeh_dev_break debugfs interface") > Signed-off-by: Oliver O'Halloran Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/253c892193ab58da6b1d94371285971b22c63260 c

Re: [PATCH] powerpc/vio: use simple dummy struct device as bus parent

2019-09-28 Thread Greg Kroah-Hartman
On Fri, Sep 27, 2019 at 03:48:49PM -0400, Dan Streetman wrote: > On Fri, Sep 27, 2019 at 2:19 PM Greg Kroah-Hartman > wrote: > > > > On Fri, Sep 27, 2019 at 09:04:02AM -0400, Dan Streetman wrote: > > > The dummy vio_bus_device creates the /sys/devices/vio directory, which > > > contains real vio d

Re: [PATCH v2 00/21] Refine memblock API

2019-09-28 Thread Mike Rapoport
On Thu, Sep 26, 2019 at 02:35:53PM -0500, Adam Ford wrote: > On Thu, Sep 26, 2019 at 11:04 AM Mike Rapoport wrote: > > > > Hi, > > > > On Thu, Sep 26, 2019 at 08:09:52AM -0500, Adam Ford wrote: > > > On Wed, Sep 25, 2019 at 10:17 AM Fabio Estevam wrote: > > > > > > > > On Wed, Sep 25, 2019 at 9:1