Re: [PATCH v7 6/6] powerpc: pSeries: Add pv-qspinlock build config/make

2016-09-21 Thread xinhui
hi, all ok, this patch set depends on https://patchwork.kernel.org/patch/8953981/ [V4] powerpc: Implement {cmp}xchg for u8 and u16 sorry. On 2016年09月19日 16:58, kbuild test robot wrote: Hi Pan, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.8-rc7 next-20160916]

Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-21 Thread Ravi Bangoria
On Thursday 22 September 2016 01:04 AM, Kim Phillips wrote: > On Wed, 21 Sep 2016 21:17:50 +0530 > Ravi Bangoria wrote: > >> Kim, I don't have arm test machine. Can you please help me to test >> this on arm. > This works for me: hitting return on return

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 15:16:25 -0500 (CDT) Christoph Lameter wrote: > On Wed, 21 Sep 2016, Tejun Heo wrote: > > > Hello, Nick. > > > > How have you been? :) > > > > He is baack. Are we getting SL!B? ;-) > Hey Christoph. Sure, why not.

Re: [PATCH 03/41] powerpc/64: use gas sections for arranging exception vectors

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 17:43:29 +1000 Nicholas Piggin wrote: > Use assembler sections of fixed size and location to arrange pseries > exception vector code (64e also using it in head_64.S for 0x0..0x100). > > This allows better flexibility in arranging exception code and hiding

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 10:23:43 -0400 Tejun Heo wrote: > Hello, Nick. > > How have you been? :) Hey Tejun, Well thank you, how about you? > On Wed, Sep 21, 2016 at 08:57:11PM +1000, Nicholas Piggin wrote: > > On Wed, 21 Sep 2016 18:51:37 +1000 > > Nicholas Piggin

RE: [PATCH v5 2/2] QE: remove PPCisms for QE

2016-09-21 Thread Qiang Zhao
On Mon, Sep 22, 2016 at 2:19 AM, Leo Li wrote: > -Original Message- > From: Leo Li [mailto:pku@gmail.com] > Sent: Thursday, September 22, 2016 2:19 AM > To: Qiang Zhao > Cc: Scott Wood ; linuxppc-dev d...@lists.ozlabs.org>; lkml

Re: [PATCH v2 3/3] mm: enable CONFIG_MOVABLE_NODE on powerpc

2016-09-21 Thread Reza Arbab
On Wed, Sep 21, 2016 at 08:13:37PM +0530, Aneesh Kumar K.V wrote: So we are looking at two step online process here. The above explained the details nicely. Can you capture these details in the commit message. ie, to say that when using 'echo online-movable > state' we allow the move from normal

Resend: [PATCH V7 8/8] powerpc: Enable support for new DRC devtree properties

2016-09-21 Thread Michael Bringmann
prom_init.c: Enable support for new DRC device tree properties "ibm,drc-info" and "ibm,dynamic-memory-v2" in initial handshake between the Linux kernel and the front end processor. [V2: Revise constant names.] [V3: No change.] [V4: Update comments] [V5: Resynchronize/resubmit] [V6: Resynchronize

Resend: [PATCH V7 7/8] powerpc: Check arch.vec earlier during boot for memory features

2016-09-21 Thread Michael Bringmann
architecture.vec5 features: The boot-time memory management needs to know the form of the "ibm,dynamic-memory-v2" property early during scanning of the flattened device tree. This patch moves execution of the function pseries_probe_fw_features() early enough to be before the scanning of the

Resend: [PATCH V7 6/8] hotplug/drc-info: Add code to search new devtree properties

2016-09-21 Thread Michael Bringmann
rpadlpar_core.c: Provide parallel routines to search the older device- tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" and "ibm,drc-power-domains"), or the new property "ibm,drc-info". The interface to examine the DRC information is changed from a "get" function that returns

Resend: [PATCH V7 5/8] pseries/drc-info: Search new DRC properties for CPU indexes

2016-09-21 Thread Michael Bringmann
pseries/drc-info: Provide parallel routines to convert between drc_index and CPU numbers at runtime, using the older device-tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" and "ibm,drc-power-domains"), or the new property "ibm,drc-info". [V2: Revise contant names.] [V3: No

Resend: [PATCH V7 4/8] pseries/hotplug init: Convert new DRC memory property for hotplug runtime

2016-09-21 Thread Michael Bringmann
hotplug_init: Simplify the code needed for runtime memory hotplug and maintenance with a conversion routine that transforms the compressed property "ibm,dynamic-memory-v2" to the form of "ibm,dynamic-memory" within the "ibm,dynamic-reconfiguration-memory" property. Thus only a single set of

Resend: [PATCH V7 3/8] powerpc/memory: Parse new memory property to initialize structures.

2016-09-21 Thread Michael Bringmann
powerpc/memory: Add parallel routines to parse the new property "ibm,dynamic-memory-v2" property when it is present, and then to finish initialization of the relevant memory structures with the operating system. This code is shared between the boot-time initialization functions and the runtime

Resend: [PATCH V7 2/8] powerpc/memory: Parse new memory property to register blocks.

2016-09-21 Thread Michael Bringmann
powerpc/memory: Add parallel routines to parse the new property "ibm,dynamic-memory-v2" property when it is present, and then to register the relevant memory blocks with the operating system. This property format is intended to provide a more compact representation of memory when communicating

Resend: [PATCH V7 1/8] powerpc/firmware: Add definitions for new firmware features.

2016-09-21 Thread Michael Bringmann
Firmware Features: Define new bit flags representing the presence of new device tree properties "ibm,drc-info", and "ibm,dynamic-memory-v2". These flags are used to tell the front end processor when the Linux kernel supports the new properties, and by the front end processor to tell the Linux

Resend: [PATCH V7 0/8] powerpc/devtree: Add support for 2 new DRC properties

2016-09-21 Thread Michael Bringmann
Several properties in the DRC device tree format are replaced by more compact representations to allow, for example, for the encoding of vast amounts of memory, and or reduced duplication of information in related data structures. "ibm,drc-info": This property, when present, replaces the

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Christoph Lameter
On Wed, 21 Sep 2016, Tejun Heo wrote: > Hello, Nick. > > How have you been? :) > He is baack. Are we getting SL!B? ;-)

Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-21 Thread Kim Phillips
On Wed, 21 Sep 2016 21:17:50 +0530 Ravi Bangoria wrote: > Kim, I don't have arm test machine. Can you please help me to test > this on arm. This works for me: hitting return on return instructions yields "Invalid jump offset", but I'll get that later. Thanks,

Re: [PATCH v5 2/2] QE: remove PPCisms for QE

2016-09-21 Thread Leo Li
On Tue, Sep 20, 2016 at 8:13 PM, Qiang Zhao wrote: > On Mon, Sep 20, 2016 at 4:13 AM, Leo Li wrote: >> -Original Message- >> From: Leo Li [mailto:pku@gmail.com] >> Sent: Tuesday, September 20, 2016 4:13 AM >> To: Qiang Zhao >> Cc: Scott Wood

Re: [PATCH v3 3/3] powerpc/8xx: Implement support of hugepages

2016-09-21 Thread Aneesh Kumar K.V
Christophe Leroy writes: > 8xx uses a two level page table with two different linux page size > support (4k and 16k). 8xx also support two different hugepage sizes > 512k and 8M. In order to support them on linux we define two different > page table layout. > > The size

Re: [PATCH v3 2/3] powerpc: get hugetlbpage handling more generic

2016-09-21 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Today there are two implementations of hugetlbpages which are managed > by exclusive #ifdefs: > * FSL_BOOKE: several directory entries points to the same single hugepage > * BOOK3S: one upper level directory entry points to a table of hugepages

Re: [PATCH 4/4] drivers/pci/hotplug: Support surprise hotplug

2016-09-21 Thread Bjorn Helgaas
Hi Gavin, You don't need my ack for any of these, and I assume you'll merge them through the powerpc tree. Minor comments below, feel free to ignore them. On Wed, Sep 21, 2016 at 10:15:30PM +1000, Gavin Shan wrote: > ... > @@ -536,9 +565,16 @@ static struct pnv_php_slot

[PATCH v7 4/6] perf annotate: Support jump instruction with target as second operand

2016-09-21 Thread Ravi Bangoria
Current perf is not able to parse jump instruction when second operand contains target address. Arch like powerpc has such instructions. For example, 'bne cr7,0xc00f6154'. objdump o/p: c00f6140: ld r9,1032(r31) c00f6144: cmpdi cr7,r9,0 c00f6148:

[PATCH v7 6/6] perf annotate: cross arch annotate support fixes for ARM

2016-09-21 Thread Ravi Bangoria
From: Kim Phillips For ARM we remove the list that contains non-arm insns, and instead add more maintainable branch instruction regex logic. Signed-off-by: Kim Phillips Signed-off-by: Ravi Bangoria --- Changes in

[PATCH v7 5/6] perf annotate: Fix jump target outside of function address range

2016-09-21 Thread Ravi Bangoria
If jump target is outside of function range, perf is not handling it correctly. Especially when target address is lesser than function start address, target offset will be negative. But, target address declared to be unsigned, converts negative number into 2's complement. See below example. Here

[PATCH v7 1/6] perf annotate: Add cross arch annotate support

2016-09-21 Thread Ravi Bangoria
Change current data structures and function to enable cross arch annotate. Current perf implementation does not support cross arch annotate. To make it truly cross arch, instruction table of all arch should be present in perf binary. And use appropriate table based on arch where perf.data was

[PATCH v7 3/6] perf annotate: Show raw form for jump instruction with indirect target

2016-09-21 Thread Ravi Bangoria
For jump instructions that does not include target address as direct operand, use raw value for that. This is needed for certain powerpc jump instructions that use target address in a register (such as bctr, btar, ...). Before: ld r12,32088(r12) mtctr r12 v bctr

[PATCH v7 2/6] perf annotate: Add support for powerpc

2016-09-21 Thread Ravi Bangoria
From: "Naveen N. Rao" Current perf can disassemble annotated function but it does not have parsing logic for powerpc instructions. So all navigation options are not available for powerpc. Apart from that, Powerpc has long list of branch instructions and

[PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-21 Thread Ravi Bangoria
Currently Perf annotate support code navigation (branches and calls) only when run on the same architecture where perf.data was recorded. But, for example, record on powerpc server and annotate on client's x86 desktop is not supported. This patchset adds supports for that. Example: Record on

[PATCH] powerpc/64: get rid of MIN_HUGEPTE_SHIFT

2016-09-21 Thread Christophe Leroy
MIN_HUGEPTE_SHIFT hasn't been used since commit d1837cba5d5d5 ("powerpc/mm: Cleanup initialization of hugepages on powerpc") Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/book3s/64/hash-4k.h | 3 --- arch/powerpc/include/asm/book3s/64/hash-64k.h|

Re: [PATCH v2 3/3] mm: enable CONFIG_MOVABLE_NODE on powerpc

2016-09-21 Thread Aneesh Kumar K.V
Reza Arbab writes: > On Wed, Sep 21, 2016 at 12:39:51PM +0530, Aneesh Kumar K.V wrote: >>What I was checking was how will one mark a node movable in ppc64 ? I >>don't see ppc64 code doing the equivalent of memblock_mark_hotplug(). > > Post boot, the marking mechanism is

Re: powerpc: add kernel parameter iommu_alloc_quiet

2016-09-21 Thread Mauricio Faria de Oliveira
Hi Michael, Thanks for the review. On 09/21/2016 10:51 AM, Michael Ellerman wrote: That is important/requirement for the distribution kernels - where the DMA_ATTR_NO_WARN changes to 'enum dma_attr' are not acceptable because it breaks the kernel ABI. [snip] > Removing an entry from an enum

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Tejun Heo
Hello, Nick. How have you been? :) On Wed, Sep 21, 2016 at 08:57:11PM +1000, Nicholas Piggin wrote: > On Wed, 21 Sep 2016 18:51:37 +1000 > Nicholas Piggin wrote: > > > Some architectures require an additional load to find the address of > > percpu pointers. In some

[PATCH V6 7/8] powerpc: Check arch.vec earlier during boot for memory features

2016-09-21 Thread Michael Bringmann
architecture.vec5 features: The boot-time memory management needs to know the form of the "ibm,dynamic-memory-v2" property early during scanning of the flattened device tree. This patch moves execution of the function pseries_probe_fw_features() early enough to be before the scanning of the

[PATCH V6 8/8] powerpc: Enable support for new DRC devtree properties

2016-09-21 Thread Michael Bringmann
prom_init.c: Enable support for new DRC device tree properties "ibm,drc-info" and "ibm,dynamic-memory-v2" in initial handshake between the Linux kernel and the front end processor. [V2: Revise constant names.] [V3: No change.] [V4: Update comments] [V5: Resynchronize/resubmit] [V6: Resynchronize

[PATCH V6 6/8] hotplug/drc-info: Add code to search new devtree properties

2016-09-21 Thread Michael Bringmann
rpadlpar_core.c: Provide parallel routines to search the older device- tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" and "ibm,drc-power-domains"), or the new property "ibm,drc-info". The interface to examine the DRC information is changed from a "get" function that returns

[PATCH V6 1/8] powerpc/firmware: Add definitions for new firmware features.

2016-09-21 Thread Michael Bringmann
Firmware Features: Define new bit flags representing the presence of new device tree properties "ibm,drc-info", and "ibm,dynamic-memory-v2". These flags are used to tell the front end processor when the Linux kernel supports the new properties, and by the front end processor to tell the Linux

[PATCH V6 5/8] pseries/drc-info: Search new DRC properties for CPU indexes

2016-09-21 Thread Michael Bringmann
pseries/drc-info: Provide parallel routines to convert between drc_index and CPU numbers at runtime, using the older device-tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" and "ibm,drc-power-domains"), or the new property "ibm,drc-info". [V2: Revise contant names.] [V3: No

[PATCH V6 4/8] pseries/hotplug init: Convert new DRC memory property for hotplug runtime

2016-09-21 Thread Michael Bringmann
hotplug_init: Simplify the code needed for runtime memory hotplug and maintenance with a conversion routine that transforms the compressed property "ibm,dynamic-memory-v2" to the form of "ibm,dynamic-memory" within the "ibm,dynamic-reconfiguration-memory" property. Thus only a single set of

[PATCH V6 3/8] powerpc/memory: Parse new memory property to initialize structures.

2016-09-21 Thread Michael Bringmann
powerpc/memory: Add parallel routines to parse the new property "ibm,dynamic-memory-v2" property when it is present, and then to finish initialization of the relevant memory structures with the operating system. This code is shared between the boot-time initialization functions and the runtime

[PATCH V6 2/8] powerpc/memory: Parse new memory property to register blocks.

2016-09-21 Thread Michael Bringmann
powerpc/memory: Add parallel routines to parse the new property "ibm,dynamic-memory-v2" property when it is present, and then to register the relevant memory blocks with the operating system. This property format is intended to provide a more compact representation of memory when communicating

[Patch V6 0/8] powerpc/devtree: Add support for 2 new DRC properties

2016-09-21 Thread Michael Bringmann
Several properties in the DRC device tree format are replaced by more compact representations to allow, for example, for the encoding of vast amounts of memory, and or reduced duplication of information in related data structures. "ibm,drc-info": This property, when present, replaces the

Re: [PATCH v2 3/3] mm: enable CONFIG_MOVABLE_NODE on powerpc

2016-09-21 Thread Reza Arbab
On Wed, Sep 21, 2016 at 12:39:51PM +0530, Aneesh Kumar K.V wrote: What I was checking was how will one mark a node movable in ppc64 ? I don't see ppc64 code doing the equivalent of memblock_mark_hotplug(). Post boot, the marking mechanism is not necessary. You can create a movable node by

Re: powerpc: add kernel parameter iommu_alloc_quiet

2016-09-21 Thread Michael Ellerman
On Thu, 2016-01-09 at 12:56:42 UTC, Mauricio Faria de Oliveira wrote: > This patch introduces the 'iommu_alloc_quiet=driver_name' parameter > to suppress the 'iommu_alloc failures' messages for that one driver. > > This is an additional approach for this 'problem' of flooding logs, > not as

Re: [v12, 7/8] base: soc: introduce soc_device_match() interface

2016-09-21 Thread Peter Rosin
On 2016-09-21 09:56, Alexander Shiyan wrote: >> Среда, 21 сентября 2016, 9:57 +03:00 от Yangbo Lu : >> >> From: Arnd Bergmann < a...@arndb.de > >> >> We keep running into cases where device drivers want to know the exact >> version of the a SoC they are currently running on. In

[PATCH] KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register

2016-09-21 Thread Thomas Huth
The MMCR2 register is available twice, one time with number 785 (privileged access), and one time with number 769 (unprivileged, but it can be disabled completely). In former times, the Linux kernel was using the unprivileged register 769 only, but since commit 8dd75ccb571f3c92c ("powerpc: Use

Re: [PATCH v2 6/6] powerpc/boot: Add support for XZ compression

2016-09-21 Thread Michael Ellerman
Oliver O'Halloran writes: > This patch adds an option to use XZ compression for the kernel image. > Currently this is only enabled for PPC64 targets since the bulk of the > 32bit platforms produce uboot images which do not use the wrapper. For the benefit of the list, this is

Re: [PATCH 4/4] drivers/pci/hotplug: Support surprise hotplug

2016-09-21 Thread Gavin Shan
On Wed, Sep 21, 2016 at 02:08:18PM +1000, Michael Ellerman wrote: >Gavin Shan writes: > >> This supports PCI surprise hotplug. The design is highlighted as >> below: >> >>* The PCI slot's surprise hotplug capability is exposed through >> device node property

[PATCH 4/4] drivers/pci/hotplug: Support surprise hotplug

2016-09-21 Thread Gavin Shan
This supports PCI surprise hotplug. The design is highlighted as below: * The PCI slot's surprise hotplug capability is exposed through device node property "ibm,slot-surprise-pluggable", meaning PCI surprise hotplug will be disabled if skiboot doesn't support it yet. * The

[PATCH 3/4] powerpc/powernv: Unfreeze PE on allocation

2016-09-21 Thread Gavin Shan
This unfreezes PE when it's initialized because the PE might be put into frozen state in the last hot remove path. It's not harmful to do so if the PE is already in unfrozen state. Signed-off-by: Gavin Shan --- arch/powerpc/platforms/powernv/pci-ioda.c | 12

[PATCH 1/4] powerpc/eeh: Allow to freeze PE in eeh_pe_set_option()

2016-09-21 Thread Gavin Shan
Function eeh_pe_set_option() is used to apply the requested options (enable, disable, unfreeze) in EEH virtualization path. The semantics of this function isn't complete until freezing is supported. This allows to freeze the indicated PE. The new semantics is going to be used in PCI surprise hot

[PATCH 0/4] powerpc/powernv: PCI Surprise Hotplug Support

2016-09-21 Thread Gavin Shan
This series of patches supports PCI surprise hotplug on PowerNV platform. Without the corresponding skiboot patches, this feature won't be enabled and workable. * The skiboot patches can be found in below link (PATCH[01/16):

[PATCH 2/4] powerpc/eeh: Export eeh_pe_state_mark()

2016-09-21 Thread Gavin Shan
This exports eeh_pe_state_mark(). It will be used to mark the surprise hot removed PE as isolated to avoid unexpected EEH error reporting in surprise remove path. Signed-off-by: Gavin Shan --- arch/powerpc/kernel/eeh_pe.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] i2c_powermac: shut up lockdep warning

2016-09-21 Thread Denis Kirjanov
That's unclear why lockdep shows the following warning but adding a lockdep class to struct pmac_i2c_bus solves it [ 20.507795] == [ 20.507796] [ INFO: possible circular locking dependency detected ] [ 20.507800] 4.8.0-rc7-00037-gd2ffb01

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 18:51:37 +1000 Nicholas Piggin wrote: > Some architectures require an additional load to find the address of > percpu pointers. In some implemenatations, the C aliasing rules do not > allow the result of that load to be kept over the store that modifies >

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread kbuild test robot
nce) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/percpu-improve-generic-percpu-modify-return-implementation/20160921-170016 b

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread kbuild test robot
nce) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/percpu-improve-generic-percpu-modify-return-implementation/20160921-170016 base: ht

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread kbuild test robot
nce) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/percpu-improve-generic-percpu-modify-return-implementation/20160921-170016 base: ht

[PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Nicholas Piggin
Some architectures require an additional load to find the address of percpu pointers. In some implemenatations, the C aliasing rules do not allow the result of that load to be kept over the store that modifies the percpu variable, which causes additional loads. Work around this by finding the

[PATCH v3 1/3] powerpc: port 64 bits pgtable_cache to 32 bits

2016-09-21 Thread Christophe Leroy
Today powerpc64 uses a set of pgtable_caches while powerpc32 uses standard pages when using 4k pages and a single pgtable_cache if using other size pages. In preparation of implementing huge pages on the 8xx, this patch replaces the specific powerpc32 handling by the 64 bits approach. This is

[PATCH v3 3/3] powerpc/8xx: Implement support of hugepages

2016-09-21 Thread Christophe Leroy
8xx uses a two level page table with two different linux page size support (4k and 16k). 8xx also support two different hugepage sizes 512k and 8M. In order to support them on linux we define two different page table layout. The size of pages is in the PGD entry, using PS field (bits 28-29): 00 :

[PATCH v3 2/3] powerpc: get hugetlbpage handling more generic

2016-09-21 Thread Christophe Leroy
Today there are two implementations of hugetlbpages which are managed by exclusive #ifdefs: * FSL_BOOKE: several directory entries points to the same single hugepage * BOOK3S: one upper level directory entry points to a table of hugepages In preparation of implementation of hugepage support on

[PATCH v3 0/3] powerpc: implementation of huge pages for 8xx

2016-09-21 Thread Christophe Leroy
This is v3 of patch serie is the implementation of support of hugepages for the 8xx. v1 of the serie was including some other fixes and optimisations/reorganisations for the 8xx. Now the patch has been split and this part only focuses on the implementation of hugepages. v2: the last patch has

Re: [v12, 7/8] base: soc: introduce soc_device_match() interface

2016-09-21 Thread Alexander Shiyan
>Среда, 21 сентября 2016, 9:57 +03:00 от Yangbo Lu : > >From: Arnd Bergmann < a...@arndb.de > > >We keep running into cases where device drivers want to know the exact >version of the a SoC they are currently running on. In the past, this has >usually been done through a vendor

Re: PowerPC agpmode issues

2016-09-21 Thread Herminio Hernandez, Jr.
I am still getting errors even with radeon.agpmode=4 is set rican-linux@Debian-G5:~$ dmesg |grep -e radeom -e drm -e radeon.agpmode [0.00] Kernel command line: root=UUID=aeca9a67-31d7-4c4b-a0f8-4db328b33305 radeon.agpmode=4 [9.734366] [drm] Initialized drm 1.1.0 20060810 [

[PATCH 41/41] powerpc/64s: remove unused exception code, small cleanups

2016-09-21 Thread Nicholas Piggin
This was not done before the big patches because I only noticed them afterwards. It has become much easier to see which handlers are branched to from which exception vectors now, and to see exactly what vector space is being used for what. Signed-off-by: Nicholas Piggin ---

[PATCH 40/41] powerpc/64s: use single macro for both parts of OOL exception

2016-09-21 Thread Nicholas Piggin
Simple substitution. This is possible now that both parts of the OOL initial handler get linked into their correct location. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 55 1 file changed, 18 insertions(+), 37

[PATCH 39/41] powerpc/64s: move __replay_interrupt function below handlers

2016-09-21 Thread Nicholas Piggin
This is not an exception handler as such: it's called from local_irq_enable(), not exception entry. Also clean up some now redundant comments at the end of the consolidation series. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 99

[PATCH 38/41] powerpc/64s: consolidate CBE Thermal 0x1800 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 60e7e7e..9f96ec2 100644 ---

[PATCH 37/41] powerpc/64s: consolidate Altivec 0x1700 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 3328425..60e7e7e 100644 ---

[PATCH 36/41] powerpc/64s: consolidate Debug 0x1600 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 3172724..3328425 100644 ---

[PATCH 35/41] powerpc/64s: consolidate Softpatch 0x1500 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 72 ++-- 1 file changed, 37 insertions(+), 35 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 34/41] powerpc/64s: consolidate Instruction Breakpoint 0x1300 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 64255bc..3e5f566 100644 ---

[PATCH 33/41] powerpc/64s: consolidate CBE System Error 0x1200 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index fe5cd85..64255bc 100644 ---

[PATCH 32/41] powerpc/64s: consolidate Reserved 0xfa0-0x1200 interrupts

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 5a3db33..fe5cd85 100644 ---

[PATCH 31/41] powerpc/64s: consolidate Hypervisor Facility Unavailable 0xf80 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index dfc1ced..5a3db33 100644 ---

[PATCH 30/41] powerpc/64s: consolidate Facility Unavailable 0xf60 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 7df5c63..dfc1ced 100644 ---

[PATCH 29/41] powerpc/64s: consolidate VSX Unavailable 0xf40 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 75 ++-- 1 file changed, 37 insertions(+), 38 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 28/41] powerpc/64s: consolidate Vector Unavailable 0xf20 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 77 ++-- 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 27/41] powerpc/64s: consolidate Performance Monitor 0xf00 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index f052fee..480c28c 100644 ---

[PATCH 26/41] powerpc/64s: consolidate Reserved 0xec0, 0xee0 interrupts

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 7b76b79..f052fee 100644 ---

[PATCH 25/41] powerpc/64s: consolidate Hypervisor Virtualization 0xea0 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index f0493e5..7b76b79 100644 ---

[PATCH 24/41] powerpc/64s: consolidate Directed Hypervisor Doorbell 0xe80 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index ec3e6dc..f0493e5 100644 ---

[PATCH 23/41] powerpc/64s: consolidate Hypervisor Maintenance 0xe60 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 114 +-- 1 file changed, 56 insertions(+), 58 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 22/41] powerpc/64s: consolidate Hypervisor Emulation Assistance 0xe40 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 75dcc08..7ff0f11 100644 ---

[PATCH 21/41] powerpc/64s: consolidate Hypervisor Instruction Storage 0xe20 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 8dceb35..75dcc08 100644 ---

[PATCH 20/41] powerpc/64s: consolidate Hypervisor Data Storage 0xe00 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 44 1 file changed, 19 insertions(+), 25 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 19/41] powerpc/64s: consolidate Trace 0xd00 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 8a12701..1a9618f 100644 ---

[PATCH 18/41] powerpc/64s: consolidate System Call 0xc00 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 124 +-- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 17/41] powerpc/64s: consolidate Reserved 0xb00 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 4c4bdda..e614a58 100644 ---

[PATCH 16/41] powerpc/64s: consolidate Directed Privileged Doorbell 0xa00 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index c18f48e..4c4bdda 100644 ---

[PATCH 15/41] powerpc/64s: consolidate Hypervisor Decrementer 0x980 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 12ea301..c18f48e 100644 ---

[PATCH 14/41] powerpc/64s: consolidate Decrementer 0x900 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index e81bcd4..12ea301 100644 ---

[PATCH 13/41] powerpc/64s: consolidate FP Unavailable 0x800 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 63 ++-- 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 12/41] powerpc/64s: consolidate Program 0x700 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 5e7f9ed..de192dc 100644 ---

[PATCH 11/41] powerpc/64s: consolidate Alignment 0x600 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 37 ++-- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 10/41] powerpc/64s: consolidate External 0x500 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index 0320b60..fc5ad5c 100644 ---

[PATCH 09/41] powerpc/64s: consolidate Instruction Segment 0x480 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 183 ++- 1 file changed, 93 insertions(+), 90 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 08/41] powerpc/64s: consolidate Instruction Storage 0x400 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

[PATCH 07/41] powerpc/64s: consolidate Data Segment 0x380 interrupt

2016-09-21 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64s.S | 48 +++- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/arch/powerpc/kernel/exceptions-64s.S b/arch/powerpc/kernel/exceptions-64s.S index

  1   2   >