Re: [PATCH kernel] powerpc/iommu/ioda2: Enable compile with IOV=on and IOMMU_API=off

2015-06-17 Thread David Gibson
On Mon, Jun 15, 2015 at 05:49:59PM +1000, Alexey Kardashevskiy wrote: > The pnv_pci_ioda2_unset_window() function is used to do the final > cleanup of a DMA window being released: > - via VFIO ioctl by the guest request; > - via unplugging a virtual PCI function. > However the function was under #i

Re: [PATCH v2 2/2] powerpc/mm: Change the swap encoding in pte.

2015-06-17 Thread Michael Ellerman
On Wed, 2015-06-17 at 08:21 +0530, Aneesh Kumar K.V wrote: > "Aneesh Kumar K.V" writes: > > > Hi Scott, > > > Current swap encoding in pte can't support large pfns > > above 4TB. Change the swap encoding such that we put > > the swap type in the PTE bits. Also add build checks > > to make sure

Re: [PATCH SLOF] disk-label: add support for booting from GPT FAT partition

2015-06-17 Thread Thomas Huth
On Thu, 11 Jun 2015 15:48:49 +0530 Nikunj A Dadhania wrote: > For a GPT+LVM combination disk, older bootloader that does not support > LVM, cannot load kernel from LVM. > > The patch add support to read from BASIC_DATA UUID > partition. Installer has installed CHRP-BOOT config on a FAT file > sy

Re: [PATCH SLOF] disk-label: add support for booting from GPT FAT partition

2015-06-17 Thread Nikunj A Dadhania
Thomas Huth writes: > On Thu, 11 Jun 2015 15:48:49 +0530 > Nikunj A Dadhania wrote: > >> For a GPT+LVM combination disk, older bootloader that does not support >> LVM, cannot load kernel from LVM. >> >> The patch add support to read from BASIC_DATA UUID >> partition. Installer has installed CHR

Re: [PATCH SLOF] disk-label: add support for booting from GPT FAT partition

2015-06-17 Thread Nikunj A Dadhania
Nikunj A Dadhania writes: > Thomas Huth writes: >>> +\ Check for GPT MSFT BASIC DATA GUID - vfat based >>> +EBD0A0A2 CONSTANT GPT-BASIC-DATA-PARTITION-1 >>> +B9E5 CONSTANT GPT-BASIC-DATA-PARTITION-2 >>> +4433 CONSTANT GPT-BASIC-DATA-PARTITION-3 >>> +87C0 CONSTANT GPT-

RE: [PATCH 01/12] fsl/fman: Add the FMan FLIB headers

2015-06-17 Thread Liberman Igal
Regards, Igal Liberman. > -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, June 10, 2015 9:54 PM > To: Bucur Madalin-Cristian-B32716 > Cc: net...@vger.kernel.org; linux-ker...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; Liberman Igal-B31950 > Subject: Re: [PATCH 01

Re: [PATCH 01/12] fsl/fman: Add the FMan FLIB headers

2015-06-17 Thread Scott Wood
On Wed, 2015-06-17 at 09:59 -0500, Liberman Igal-B31950 wrote: > > Regards, > Igal Liberman. > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, June 10, 2015 9:54 PM > > To: Bucur Madalin-Cristian-B32716 > > Cc: net...@vger.kernel.org; linux-ker...@vger.kernel.org;

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-17 Thread David Long
On 06/16/15 09:17, Rob Herring wrote: On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: From: "David A. Long" The pt_regs_offset structure is used for HAVE_REGS_AND_STACK_ACCESS_API feature and has identical definitions in four different arch ptrace.h include files. It seems unlikely that

Re: [PATCH v3] powerpc/rcpm: add RCPM driver

2015-06-17 Thread Scott Wood
On Tue, 2015-06-16 at 14:00 -0400, Bob Cochran wrote: > On 06/16/2015 05:26 AM, Yuantian.Tang@freescale.comwrote: > > From: Tang Yuantian > > > > There is a RCPM (Run Control/Power Management) in Freescale QorIQ > > series processors. The device performs tasks associated with device > > run cont

Re: [PATCH v2 2/2] powerpc/mm: Change the swap encoding in pte.

2015-06-17 Thread Scott Wood
On Wed, 2015-06-17 at 19:45 +1000, Michael Ellerman wrote: > On Wed, 2015-06-17 at 08:21 +0530, Aneesh Kumar K.V wrote: > > "Aneesh Kumar K.V" writes: > > > > > > Hi Scott, > > > > > Current swap encoding in pte can't support large pfns > > > above 4TB. Change the swap encoding such that we put

Re: [RFC PATCH] perf/kvm: Guest Symbol Resolution for powerpc

2015-06-17 Thread Hemant Kumar
Hi Arnaldo, On 06/16/2015 09:08 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 16, 2015 at 08:20:53AM +0530, Hemant Kumar escreveu: "perf kvm {record|report}" is used to record and report the performance profile of any workload on a guest. From the host, we can collect guest kernel statistics

Re: [PATCH 01/44] kernel: Add support for poweroff handler call chain

2015-06-17 Thread Stephen Boyd
On 10/06/2014 10:28 PM, Guenter Roeck wrote: > Various drivers implement architecture and/or device specific means to > remove power from the system. For the most part, those drivers set the > global variable pm_power_off to point to a function within the driver. > > This mechanism has a number of

[PATCH] powerpc/powernv: Fix wrong IOMMU table in pnv_ioda_setup_bus_dma()

2015-06-17 Thread Gavin Shan
From: Alexey Kardashevskiy When pnv_pci_ioda_fixup() is called during PHB fixup time, each PE in the sorted list of PEs (phb::pe_dma_list) is iterated to setup the PE's DMA32 space by pnv_ioda_setup_bus_dma() if the PE's DMA32 weight is bigger than zero. The function also assigns all the subordin

Re: [PATCH v2 2/2] powerpc/mm: Change the swap encoding in pte.

2015-06-17 Thread Michael Ellerman
On Wed, 2015-06-17 at 16:14 -0500, Scott Wood wrote: > On Wed, 2015-06-17 at 19:45 +1000, Michael Ellerman wrote: > > On Wed, 2015-06-17 at 08:21 +0530, Aneesh Kumar K.V wrote: > > > "Aneesh Kumar K.V" writes: > > > > > > > > > Hi Scott, > > > > > > > Current swap encoding in pte can't support

Re: [RFC v2 23/24] m68k/mac: Fix PRAM accessors

2015-06-17 Thread Finn Thain
Hi Geert, Further to my previous email, On Tue, 16 Jun 2015, in which I wrote: > > On Mon, 15 Jun 2015, Geert Uytterhoeven wrote: > > > > > More magic values... > > [...] The only useful RTC documentation I've ever come across is this: > http://mac.linux-m68k.org/devel/plushw.php This doc

[PATCH] cxl: Fix typo in debug print

2015-06-17 Thread Michael Neuling
Fix typo in debug print. p1->p2. No functional change. Signed-off-by: Michael Neuling diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c index 1ef0164..8515791 100644 --- a/drivers/misc/cxl/pci.c +++ b/drivers/misc/cxl/pci.c @@ -204,7 +204,7 @@ static void dump_cxl_config_space(struc

Re: [PATCH v2 2/2] powerpc/mm: Change the swap encoding in pte.

2015-06-17 Thread Aneesh Kumar K.V
Scott Wood writes: > On Wed, 2015-06-17 at 19:45 +1000, Michael Ellerman wrote: >> On Wed, 2015-06-17 at 08:21 +0530, Aneesh Kumar K.V wrote: >> > "Aneesh Kumar K.V" writes: >> > >> > >> > Hi Scott, >> > >> > > Current swap encoding in pte can't support large pfns >> > > above 4TB. Change the

Re: [PATCH] cxl: Fix typo in debug print

2015-06-17 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] cxl: Fix typo in debug print

2015-06-17 Thread Michael Ellerman
On Thu, 2015-06-18 at 15:15 +1000, Michael Neuling wrote: > Fix typo in debug print. p1->p2. No functional change. That's not "no functional change", it changes the behaviour, unless p2_base() implements the same logic as p1_base()? cheers > diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/c

Re: [PATCH] cxl: Fix typo in debug print

2015-06-17 Thread Michael Neuling
On Thu, 2015-06-18 at 15:57 +1000, Michael Ellerman wrote: > On Thu, 2015-06-18 at 15:15 +1000, Michael Neuling wrote: > > Fix typo in debug print. p1->p2. No functional change. > > That's not "no functional change", it changes the behaviour, unless p2_base() > implements the same logic as p1_ba

Re: [PATCH SLOF] disk-label: add support for booting from GPT FAT partition

2015-06-17 Thread Nikunj A Dadhania
Thomas Huth writes: > On Thu, 11 Jun 2015 15:48:49 +0530 > Nikunj A Dadhania wrote: > >> + block-size * to seek-pos >> + block gpt>part-entry-size l@-le to gpt-part-size >> + block gpt>num-part-entry l@-le dup 0= IF FALSE EXIT THEN >> + 1+ 1 ?DO >> + seek-pos 0 seek drop >> + b