Re: [PATCH] Add hwcap2 bits for POWER9

2016-01-11 Thread Carlos O'Donell
On 01/11/2016 10:16 AM, Tulio Magno Quites Machado Filho wrote: > Adhemerval Zanella writes: > >> On 08-01-2016 13:36, Peter Bergner wrote: >>> On Fri, 2016-01-08 at 11:25 -0200, Tulio Magno Quites Machado Filho wrote: Peter, this solves the issue you reported

[PATCH V2] mm/powerpc: Fix _PAGE_PTE breaking swapoff

2016-01-11 Thread Aneesh Kumar K.V
Core kernel expect swp_entry_t to be consisting of only swap type and swap offset. We should not leak pte bits to swp_entry_t. This breaks swapoff which use the swap type and offset to build a swp_entry_t and later compare that to the swp_entry_t obtained from linux page table pte. Leaking pte

Re: [PATCH next] powerpc/mm: fix _PAGE_SWP_SOFT_DIRTY breaking swapoff

2016-01-11 Thread Laurent Dufour
On 10/01/2016 01:54, Hugh Dickins wrote: > Swapoff after swapping hangs on the G5, when CONFIG_CHECKPOINT_RESTORE=y > but CONFIG_MEM_SOFT_DIRTY is not set. That's because the non-zero > _PAGE_SWP_SOFT_DIRTY bit, added by CONFIG_HAVE_ARCH_SOFT_DIRTY=y, is not > discounted when

Re: [PATCH 3/3] ASoC: fsl_ssi: remove register defaults

2016-01-11 Thread Timur Tabi
Mark Brown wrote: That's possibly problematic because the flat cache will of necessity end up with defaults (of 0 from the kzalloc()) for all the registers. You'll still have default values in the cache, though some of the behaviour around optimising syncs does change without them explicitly

Re: [PATCH V2] mm/powerpc: Fix _PAGE_PTE breaking swapoff

2016-01-11 Thread Hugh Dickins
On Mon, 11 Jan 2016, Aneesh Kumar K.V wrote: > Core kernel expect swp_entry_t to be consisting of > only swap type and swap offset. We should not leak pte bits to > swp_entry_t. This breaks swapoff which use the swap type and offset > to build a swp_entry_t and later compare that to the

Re: [PATCH] Add hwcap2 bits for POWER9

2016-01-11 Thread Tulio Magno Quites Machado Filho
"Carlos O'Donell" writes: > On 01/11/2016 10:16 AM, Tulio Magno Quites Machado Filho wrote: >> Adhemerval Zanella writes: >> >>> On 08-01-2016 13:36, Peter Bergner wrote: On Fri, 2016-01-08 at 11:25 -0200, Tulio Magno Quites Machado Filho

<    1   2