On Tue, 2015-03-31 at 08:46 +1100, Benjamin Herrenschmidt wrote:
> On Mon, 2015-03-30 at 23:32 +1100, Michael Ellerman wrote:
> > On Wed, 2015-25-03 at 05:35:36 UTC, Daniel Axtens wrote:
> >
> > Why did we move it? Just for cleanliness?
> >
> > > diff --g
On Mon, 2015-03-30 at 22:45 +0530, Shreyas B Prabhu wrote:
> On Monday 30 March 2015 03:51 PM, Michael Ellerman wrote:
> >
> > This sounds good, although the name is a bit vague.
> How about "fastsleep_workaround_permanent", with default value = 0. User
> c
erspace via sysfs")
>
> Signed-off-by: Sudeep Holla
> Cc: Benjamin Herrenschmidt
> Cc: Paul Mackerras
> Cc: Michael Ellerman
> Cc: Anshuman Khandual
> Cc: linuxppc-dev@lists.ozlabs.org
> ---
> arch/powerpc/kernel/cacheinfo.c | 811
> +--
On Tue, 2015-03-31 at 18:11 +0200, Jan Stancek wrote:
> Space allocated for paca is based off nr_cpu_ids,
> but pnv_alloc_idle_core_states() iterates paca with
> cpu_nr_cores()*threads_per_core, which is using NR_CPUS.
>
> This causes pnv_alloc_idle_core_states() to write over memory,
> which is o
On Tue, 2015-03-31 at 18:14 +0100, Sudeep Holla wrote:
>
> On 31/03/15 11:56, Michael Ellerman wrote:
> > On Mon, 2015-23-02 at 18:18:20 UTC, Sudeep Holla wrote:
> >> This patch removes the redundant sysfs cacheinfo code by reusing
> >> the newly introduced ge
Hi Linus,
Please pull one powerpc fix for 4.0:
The following changes since commit e42391cd048809d903291d07f86ed3934ce138e9:
Linux 4.0-rc6 (2015-03-29 15:26:31 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.0-4
for
e sparse results often enough.
Fixes: 69111bac42f5 ("powerpc: Replace __get_cpu_var uses")
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/cell/interrupt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/cell/interrupt.c
b/arch/powe
o determine iommu
page size")
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/cell/iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/cell/iommu.c
b/arch/powerpc/platforms/cell/iommu.c
index c7c8720aa39f..63db1b03e756 100644
--
On Wed, 2015-04-01 at 14:05 +0800, Jeremy Kerr wrote:
> Hi all,
>
> This series implements a simple mtd device to allow access to the PNOR
> flash on OpenPower machines. The flash is accessed through firmware
> calls.
>
> Patch 1/2 adds the Linux interface to these calls. Patch 2/2 adds a mtd
> d
c1aa687d499a
"powerpc: Clean up obsolete code relating to decrementer and timebase".
So drop that requirement, probe() now returns void, and update all
implementations.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/smp.h | 4 ++--
arch/powerpc/include/asm/xic
On Mon, 2015-03-30 at 14:20 +1100, Sam Bobroff wrote:
> @@ -145,6 +146,24 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)
> andi. r11,r10,_TIF_SYSCALL_DOTRACE
> bne syscall_dotrace
> .Lsyscall_dotrace_cont:
> +#ifdef CONFIG_PPC_TRANSACTIONAL_MEM
> +BEGIN_FTR_SECTION
> + b
On Tue, 2015-04-07 at 16:31 -0500, Scott Wood wrote:
> On Tue, 2015-04-07 at 10:19 +0200, leroy christophe wrote:
> > Le 25/03/2015 01:45, Scott Wood a écrit :
> > > On Fri, 2015-03-13 at 10:34 +1100, Michael Ellerman wrote:
> > >> You'll need to collect ACKs, o
On Fri, 2015-03-20 at 18:52 -0500, Scott Wood wrote:
> On Fri, Dec 05, 2014 at 12:20:20PM +0100, LEROY Christophe wrote:
> > include/linux/mm.h: In function 'is_vmalloc_addr':
> > include/linux/mm.h:367:14: warning: comparison between signed and unsigned
> > integer expressions [-Wsign-compare]
>
On Tue, 2015-04-07 at 09:44 +0200, Arnd Bergmann wrote:
> On Tuesday 07 April 2015 10:31:36 Daniel Axtens wrote:
> > > Please see https://patchwork.ozlabs.org/patch/431333/ for related work.
> > >
> > I'm familiar with that patch series - I've been helping Yijing get it up
> > to speed on PowerPC.
hvCall.S| 2 +-
> arch/powerpc/platforms/pseries/lpar.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
Acked-by: Michael Ellerman
I assume it's best for Andrew to take this series with all the cross-archness?
cheers
On Fri, 2015-04-10 at 20:02 +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the powerpc-mpe tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> mm/gup.c: In function 'gup_pte_range':
> mm/gup.c:904:3: error: conversion to non-scalar type requested
>pte_t p
On Fri, 2015-04-10 at 13:54 +0200, Valentin Rothberg wrote:
> Hi Michael,
Hi Valentin,
> your commit bf4981a00636 ("powerpc: Remove the celleb support") in
> today's Linux next tree removes the Kconfig option PPC_CELLEB. It looks
> like there are some leftovers in Kconfig dependencies on this op
On Sun, 2015-04-12 at 14:04 -0500, Segher Boessenkool wrote:
> On Fri, Apr 10, 2015 at 08:38:55PM +1000, Michael Ellerman wrote:
> > BUT, I can't work out how to tell git-send-email I *always* want to pass
> > -M, so
> > I'll probably forget next time :)
>
crementer exception on the next
timebase tick. We then handle the work in __timer_interrupt().
CC: Frederic Weisbecker
Signed-off-by: Paul A. Clarke
Reviewed-by: Paul E. McKenney
[mpe: Flesh out change log, fix ws & include guards, remove include of
processor.h]
Signed-off-by: Michael Ellerm
The recent change to the EEH probing causes a crash on Cell because
eeh_ops is NULL.
Check if EEH is enabled and if not bail out.
Fixes: ff57b454ddb9 ("powerpc/eeh: Do probe on pci_dn")
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/eeh.c | 2 +-
1 file changed, 1 inser
quot;powerpc/cell: Move controller ops from ppc_md to
controller_ops")
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/cell/setup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/cell/setup.c
b/arch/powerpc/platforms/cell/setup.c
inde
On Tue, 2015-04-14 at 10:55 +0200, Ingo Molnar wrote:
> * Sukadev Bhattiprolu wrote:
>
> > This is another attempt to resurrect Andi Kleen's patchset so users
> > can specify perf events by their event names rather than raw codes.
> >
> > This is a rebase of Andi Kleen's patchset from Jul 30, 20
On Tue, 2015-04-14 at 14:58 +0200, Ingo Molnar wrote:
> * Michael Ellerman wrote:
>
> > On Tue, 2015-04-14 at 10:55 +0200, Ingo Molnar wrote:
> > > * Sukadev Bhattiprolu wrote:
> > >
> > > > This is another attempt to resurrect Andi Kleen's patch
nux ppc64le #1 SMP Wed Apr 15 12:12:20 AEST 2015
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/setup_64.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c
index 49f553bbb360..dfbeabad523b 100644
--- a/arc
o prevent the flash driver telling you it was flashing
your firmware when it wasn't.
- Patch from Ben Herrenschmidt to add an OPAL heartbeat driver.
- Fix for an oops causing get/put_cpu_var() imbalance in perf by Jan Stancek.
- Some fixes for migration from Tyrel Datwyler.
- A new sy
On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote:
> Hi Maintainers,
>
> We have a proposal for writing the defconfigs for freescale's powperpc
> platforms in a new way.
> Can you take a look and provide some feedback?
>
> You know currently we have mpc85xx_defconfig, corenet32_defconfig,
> bs
On Thu, 2015-04-16 at 23:13 -0500, Scott Wood wrote:
> On Fri, 2015-04-17 at 10:54 +1000, Michael Ellerman wrote:
> > On Thu, 2015-04-09 at 21:52 +, Lijun Pan wrote:
> > > Hi Maintainers,
> > >
> > > We have a proposal for writing the defconfigs for freesc
On Sun, 2015-04-19 at 14:36 -0400, Sowmini Varadhan wrote:
> > On (04/19/15 14:09), David Miller wrote:
> >
> > > On (04/18/15 21:23), Guenter Roeck wrote:
> > >> lib/built-in.o:(.discard+0x1): multiple definition of
> > >> `__pcpu_unique_iommu_pool_hash'
> > >> arch/powerpc/kernel/built-in.o:(.dis
On Sun, 2015-04-19 at 22:17 -0700, Guenter Roeck wrote:
> Hi Michael,
Hi Guenter,
> On 04/19/2015 08:01 PM, Michael Ellerman wrote:
>
> > Someone needs to be doing s390/alpha builds with that enabled anyway,
> > because
> > otherwise a clash between generic code and
On Mon, 2015-04-20 at 12:50 -0400, David Miller wrote:
> From: Guenter Roeck
> Date: Mon, 20 Apr 2015 09:44:31 -0700
>
> > On Mon, Apr 20, 2015 at 12:25:19PM -0400, David Miller wrote:
> >> From: Guenter Roeck
> >> Date: Sun, 19 Apr 2015 22:17:21 -0700
> >>
> >> > The debug option is intended f
On Mon, 2015-04-20 at 19:32 -0700, Guenter Roeck wrote:
> On 04/20/2015 06:54 PM, Michael Ellerman wrote:
> > On Mon, 2015-04-20 at 12:50 -0400, David Miller wrote:
> >> From: Guenter Roeck
> >> Date: Mon, 20 Apr 2015 09:44:31 -0700
> >>
> >>>
On Mon, 2015-04-20 at 21:02 -0500, Timur Tabi wrote:
> On Mon, Apr 20, 2015 at 3:31 PM, Scott Wood wrote:
> >
> >
> > The ability to merge configs is already there. We're just talking about
> > using that functionality.
>
> Why do you need a powerpc-specific way to use merge_config.sh? Other
>
On Sat, 2015-18-04 at 04:47:21 UTC, Lijun Pan wrote:
> It is always a headache dealing with different defconfigs
> though they only differ in few places. Hence we are proposing a new
> way of writing defconfig:
So on the whole this is looking promising, some comments ...
> 1. Define a basic defco
The only little endian configuration we support is ppc64le, so we
shouldn't be asking which endian to use when building 32-bit kernels,
they are always big endian.
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/Kconfig.cputype | 1 +
1 file changed, 1 insertion(+)
diff --git a
ully clean up the
result in future with some further refactoring.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/Makefile | 3 ++-
arch/powerpc/kernel/signal_32.c| 11 --
arch/powerpc/kernel/vdso.c | 38 +-
arch/po
,
it's possible that we're building with gcc but COMPILER was not set.
So instead check for ${COMPILER} != "clang", which we know is currently
the only other possibility.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Makefile | 9 ++---
1 file changed, 6 insertions(+), 3
On Tue, 2015-04-21 at 13:33 -0500, Scott Wood wrote:
> On Tue, 2015-04-21 at 19:41 +1000, Michael Ellerman wrote:
> > The only little endian configuration we support is ppc64le, so we
> > shouldn't be asking which endian to use when building 32-bit kernels,
> >
On Tue, 2015-04-21 at 13:36 -0500, Scott Wood wrote:
> On Tue, 2015-04-21 at 19:41 +1000, Michael Ellerman wrote:
> > diff --git a/arch/powerpc/platforms/Kconfig.cputype
> > b/arch/powerpc/platforms/Kconfig.cputype
> > index 12fc443b9d54..1324f589f43a 100644
> > -
The only little endian configuration we support is ppc64le, all other
configurations are big endian.
So we should only offer a choice of endian if we're building for 64-bit
Book3S, ie. PPC_BOOK3S_64.
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/Kconfig.cputype | 1 +
1
It's in the git history if we ever need it back.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/vdso.c | 44
1 file changed, 44 deletions(-)
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index 305eb0d
So we can just consolidate them into start/size and avoid the
duplication.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/vdso.c | 55 ++
1 file changed, 26 insertions(+), 29 deletions(-)
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powe
ully clean up the
result in future with some further refactoring.
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/vdso.h| 1 +
arch/powerpc/kernel/Makefile | 3 ++-
arch/powerpc/kernel/vdso.c | 40 ++
arch/powerpc
On Wed, 2015-04-22 at 10:48 +0530, Naveen N. Rao wrote:
> On 2015/04/21 09:25AM, Steven Rostedt wrote:
> > On Tue, 21 Apr 2015 16:33:36 +0530
> > "Naveen N. Rao" wrote:
> >
> > > Add a new powerpc-specific trace clock using the timebase register,
> > > similar to x86-tsc. This gives us a fast, mo
On Thu, 2015-04-23 at 13:06 +1000, Stephen Rothwell wrote:
> Hi Michael,
>
> On Wed, 22 Apr 2015 15:40:36 +1000 Michael Ellerman
> wrote:
> >
> > diff --git a/arch/powerpc/include/asm/vdso.h
> > b/arch/powerpc/include/asm/vdso.h
> > index c53f5f6d1761
On Thu, 2015-04-23 at 10:11 +0530, Shreyas B Prabhu wrote:
> Any suggestions on this?
It's in:
https://git.kernel.org/cgit/linux/kernel/git/mpe/linux.git/log/?h=fixes
cheers
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.oz
ckported to the binutils 2.24 branch and has been picked up by most
distros it seems.
However if we're running stock 2.24 (no extra version) then the bug is
present, so check for that and bail.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Makefile | 8
1 file changed, 8 inserti
ehea: registering mr failed
ehea: register MR failed - driver inoperable!
ehea: memory is going offline
Fixes: aa183323312d ("ehea: Register memory hotplug, reboot and crash hooks on
adapter probe")
Signed-off-by: Michael Ellerman
---
drivers/net/ethernet/ibm/ehea/ehea_main.c | 6
dereferencing pte_t pointer
KVM: PPC: Remove page table walk helpers
powerpc/mm/thp: Make page table walk safe against thp split/collapse
powerpc/mm/thp: Return pte address if we find trans_splitting.
powerpc/mm: Fix build error with CONFIG_PPC_TRANSACTIONAL_MEM disabled
Micha
On Sat, 2015-04-25 at 14:43 -0400, David Miller wrote:
> From: Michael Ellerman
> Date: Fri, 24 Apr 2015 15:52:32 +1000
>
> > The recent commit to only register the EHEA memory hotplug hooks on
> > adapter probe has a few problems.
> >
> > Firstly the referen
On Fri, 2015-04-10 at 18:24 +1000, Alistair Popple wrote:
> Convert the opal ipmi driver to use the new irq interface for events.
> drivers/char/ipmi/ipmi_powernv.c | 39 ++-
This needs to be CC'ed to the IPMI folks, and preferably get their ACK so we
can take
Commit 34cb7954c0aa "Convert ICS mutex lock to spin lock" added an
include of asm/spinlock.h, which does not work in the SMP=n case.
It should instead include linux/spinlock.h
Fixes: 34cb7954c0aa ("KVM: PPC: Book3S HV: Convert ICS mutex lock to spin lock")
Signed-off-
On Mon, 2015-04-27 at 06:59 -0400, Julian Margetson wrote:
> Kernel 4.1-rc1 build fails on Sam460ex amcc 460ex powerpc Canyonlands with
> CONFIG_SATA_DWC=y
>
> sata_dwc_460ex.c:(.text+0xa165c): undefined reference to `dw_dma_remove'
> drivers/built-in.o: In function `sata_dwc_probe':
> sata_dwc_
Subject should be "powerpc/pseries: ..." please.
On Tue, 2015-04-28 at 10:37 -0500, Nathan Fontenot wrote:
> The incorrect ordering of operations during cpu dlpar causes the affinity
> of cpus being added to be invalid. Phyp does not assign affinity information
> for a cpu until the rtas set-indic
merge window and will merge the fixed version in
the next window.
NB. Rather than reverting the selftest we just drop tm-syscall from
TEST_PROGS so that it's not run by default.
Fixes: feba40362b11 ("powerpc/tm: Abort syscalls in active transactions")
Signed-off-by: M
On Thu, 2015-04-30 at 14:58 -0700, Tyrel Datwyler wrote:
> On 04/29/2015 06:44 PM, Nathan Fontenot wrote:
> > Failure return from dlpar_configure_connector when dlpar adding cpus
> > results in leaking references to the cpus parent device node. Move the
> > call to of_node_put() prior to checking t
On Fri, 2015-05-01 at 09:22 +1000, Gavin Shan wrote:
> Commit 1c509148b ("powerpc/eeh: Do probe on pci_dn") probes EEH
> devices in early stage, which is reasonable to pSeries platform.
> However, it's wrong for PowerNV platform because the PE# isn't
> determined until the resources (IO and MMIO) a
Traffic on the cbe-oss-dev list is more or less non-existent, other than
CC's from linuxppc.
It's seems like we may as well just send everyone to linuxppc and
archive the list.
Signed-off-by: Michael Ellerman
---
MAINTAINERS | 7 ++-
1 file changed, 2 insertions(+), 5 deletion
On Fri, 2015-05-01 at 11:28 +1000, Gavin Shan wrote:
> On Fri, May 01, 2015 at 09:50:57AM +1000, Michael Ellerman wrote:
> >On Fri, 2015-05-01 at 09:22 +1000, Gavin Shan wrote:
> >> Commit 1c509148b ("powerpc/eeh: Do probe on pci_dn") probes EEH
> >> devices i
On Fri, 2015-05-01 at 11:23 +0800, Jeremy Kerr wrote:
> Hi Michael,
>
> > Traffic on the cbe-oss-dev list is more or less non-existent, other than
> > CC's from linuxppc.
>
> Plus all that spam that never makes it out of the moderation queue.
>
> > It's seems like we may as well just send everyo
From: Sam Bobroff
Patches 7cba160ad "powernv/cpuidle: Redesign idle states management"
and 77b54e9f2 "powernv/powerpc: Add winkle support for offline cpus"
use non-volatile condition registers (cr2, cr3 and cr4) early in the system
reset interrupt handler (system_reset_pSeries()) before it has be
ns (1):
powerpc/powernv: Fix early pci_controller_ops loading.
Gavin Shan (2):
powerpc/eeh: Fix race condition in pcibios_set_pcie_reset_state()
powerpc/eeh: Delay probing EEH device during hotplug
Michael Ellerman (3):
powerpc/kvm: Fix SMP=n build error in book3s_xics.c
R
NMI (see do_hash_page()).
We don't actually need or want vmalloc backed perf so just disable it on
powerpc.
Signed-off-by: Michael Ellerman
---
init/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/init/Kconfig b/init/Kconfig
index dc24dec60232..81050e4d9941 100644
n existing string it
appends to it, with a leading space.
This makes it easy to call it multiple times from different parts of the
code and get a reasonable looking result.
Signed-off-by: Michael Ellerman
---
include/linux/printk.h | 5 +
kernel/printk/pri
As soon as we know the name of the cpu we're on, add it to the dump
stack arch description, which is printed in case of an oops.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/cputable.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/kernel/cputable.c b
As soon as we know the model of the machine we're on, add it to the dump
stack arch description, which is printed in case of an oops.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/prom.c | 20
1 file changed, 20 insertions(+)
diff --git a/arch/powerpc/k
As soon as we know the name of the machine description we're using, add
it to the dump stack arch description, which is printed in case of an
oops.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/setup-common.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/k
Once we have unflattened the device tree we can easily grab these opal
version details and add them to dump stack arch description, which is
printed in case of an oops.
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/powernv/setup.c | 26 ++
1 file changed, 26
and if so that's probably a
good guess. The actual content of the ibm,fw-net-version seems to be
a full path so is too long to add to the description.
Signed-off-by: Michael Ellerman
---
arch/powerpc/platforms/pseries/setup.c | 35 ++
1 file changed, 35 inse
On Tue, 2015-05-05 at 14:16 -0700, Andrew Morton wrote:
> On Tue, 5 May 2015 21:12:12 +1000 Michael Ellerman
> wrote:
>
> > Arch code can set a "dump stack arch description string" which is
> > displayed with oops output to describe the hardware platform.
>
On Tue, 2015-05-05 at 14:16 -0700, Andrew Morton wrote:
> On Tue, 5 May 2015 21:12:12 +1000 Michael Ellerman
> wrote:
>
> > Arch code can set a "dump stack arch description string" which is
> > displayed with oops output to describe the hardware platfo
On Thu, 2015-05-07 at 15:00 +0530, Vipin K Parashar wrote:
> This patch adds support for FSP EPOW (Early Power Off Warning) and
> DPO (Delayed Power Off) events support for PowerNV platform. EPOW events
> are generated by SPCN/FSP due to various critical system conditions that
> need system shutdo
On Thu, 2015-07-05 at 03:16:15 UTC, Alistair Popple wrote:
> diff --git a/arch/powerpc/platforms/powernv/opal.c
> b/arch/powerpc/platforms/powernv/opal.c
> index 4399ff2..0196220 100644
> --- a/arch/powerpc/platforms/powernv/opal.c
> +++ b/arch/powerpc/platforms/powernv/opal.c
> @@ -362,33 +362,34
Stable folks please ignore this patch.
Comments below.
On Mon, 2015-11-05 at 00:48:32 UTC, Daniel Axtens wrote:
> Before 69111bac42f5 ("powerpc: Replace __get_cpu_var uses"), in
> save_mce_event, index got the value of mce_nest_count, and
> mce_nest_count was incremented *after* index was set.
>
On Thu, 2015-30-04 at 03:04:51 UTC, Sukadev Bhattiprolu wrote:
> We currently try to register the 24x7 PMU unconditionally. Not all
> Power systems support 24x7 counters (eg: Power7). On these systems
> we get a backtrace during boot when trying to register the 24x7 PMU.
>
> Check if the hyperviso
On Tue, 2015-05-05 at 15:30:21 UTC, Laurent Dufour wrote:
> The commit 8170a83f15ee ("powerpc: Wireup the kcmp syscall to sys_ni") has
> disabled the kcmp syscall for powerpc. This has been done due to the use
> of unsigned long parameters which may require a dedicated wrapper to handle
> 32bit pr
On Tue, 2015-05-12 at 13:23 +1000, Daniel Axtens wrote:
> Before 69111bac42f5 ("powerpc: Replace __get_cpu_var uses"), in
> save_mce_event, index got the value of mce_nest_count, and
> mce_nest_count was incremented *after* index was set.
>
> However, that patch changed the behaviour so that mce_n
On Wed, 2015-05-13 at 18:11 +0200, Torsten Duwe wrote:
> In order to avoid an endless recursion, functions that may get
> called from the data access handler must not call into tracing
> functions, which may cause data access faults ;-)
>
> Advancing from my previous approach that lavishly compile
To call do_syscall_trace_enter() we need pt_regs in r3, but we don't need
to recalculate it based on r1, it's already in r9.
Signed-off-by: Michael Ellerman
---
arch/powerpc/kernel/entry_64.S | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/en
ue
as it should be presented to userspace. That is mainly for consistency
with syscall_get_error().
Signed-off-by: Michael Ellerman
---
arch/powerpc/include/asm/syscall.h | 13 +
arch/powerpc/kernel/entry_64.S | 37 +++--
2 files changed, 44 inserti
entry_32.S in a similar fashion to the 64-bit code.
Signed-off-by: Michael Ellerman
---
arch/powerpc/Kconfig | 1 +
arch/powerpc/kernel/ptrace.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 190cc48abc0c..a90bbd2c3f3b 100644
On Mon, 2015-18-05 at 03:56:51 UTC, Benjamin Herrenschmidt wrote:
> This patch adds the ability to the DMA direct ops to fallback to the IOMMU
> ops for coherent alloc/free if the coherent mask of the device isn't
> suitable for accessing the direct DMA space and the device also happens
> to have a
Hi Linus,
Please pull some more powerpc fixes for 4.1:
The following changes since commit 030bbdbf4c833bc69f502eae58498bc5572db736:
Linux 4.1-rc3 (2015-05-10 15:12:29 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.1
On Mon, 2015-05-18 at 14:29 +0200, Jiri Kosina wrote:
> yOn Sat, 16 May 2015, Torsten Duwe wrote:
>
> > > > There's got to be a better solution than this.
> > >
> > > Can you think of a better approach?
> >
> > Maybe a per thread variable to lock out a recursion into tracing?
> > Thanks for your
On Fri, 2015-05-15 at 14:06 +1000, Alistair Popple wrote:
> Convert the opal hvc driver to use the new irqchip to register for
> opal events. As older firmware versions may not have device tree
> bindings for the interrupt parent we just use a hardcoded hwirq based
> on the event number.
This is s
On Tue, 2015-05-19 at 15:09 +1000, Alistair Popple wrote:
> On Tue, 19 May 2015 14:33:39 Michael Ellerman wrote:
> > On Fri, 2015-05-15 at 14:06 +1000, Alistair Popple wrote:
> > > Convert the opal hvc driver to use the new irqchip to register for
> > > opal events. As
On Mon, 2015-05-18 at 16:26 +0530, Anshuman Khandual wrote:
> This patch series has patches for POWER DSCR fixes, improvements,
> in code documentaion, kernel support user documentation and selftest based
> test cases. It has got five test cases which are derived from Anton's DSCR
> test buck
On Thu, 2015-21-05 at 08:05:30 UTC, Vaibhav Jain wrote:
> Export the "AFU Error Buffer" via sysfs attribute (afu_err_buf). AFU
> error buffer is used by the AFU to report application specific
> errors. The contents of this buffer are AFU specific and are intended to
> be interpreted by the applicat
These tests were merged in parallel to the install support, update them
now to use it.
This also adds cross compile support for the VPHN test which was missing
it.
Signed-off-by: Michael Ellerman
---
tools/testing/selftests/powerpc/switch_endian/Makefile | 14 --
tools/testing
0x7e714
| | 0x7e714
Cc: sta...@vger.kernel.org
Signed-off-by: Anton Blanchard
Signed-off-by: Michael Ellerman
---
v2: Return the result directly rather than if (x) return true.
Add a big comment.
Cc to stable.
arch/powerpc/perf/core-book3s.c | 11 ++-
1 file changed, 10 inserti
-by: Geert Uytterhoeven
Signed-off-by: Michael Ellerman
---
arch/powerpc/mm/hash_utils_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
index fda236f908eb..a04ca922f0db 100644
--- a/arch/powerpc/mm/hash_utils_
On Thu, 2015-05-28 at 10:03 +0530, Kamalesh Babulal wrote:
> We print the respective warning after parsing EPOW interrupts,
> prompting user to take action depending upon the severity of the
> event.
>
> Some times same EPOW event warning, such as below could flood kernel
> log, within very short
_msi_desc(d))
> pci_msi_unmask_irq(d);
> #endif
> /* unmask it */
These look OK.
Though I would point out we already have 16 irq_foo_get_bar() accessors?!
Acked-by: Michael Ellerman
cheers
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
On Mon, 2015-01-06 at 03:26:44 UTC, Cyril Bur wrote:
> Powerpc powernv platforms allow access to certain system flash devices
> through a firmwarwe interface. This change adds an mtd driver for these
> flash devices.
>
> Minor updates from Jeremy Kerr and Joel Stanley.
>
> Signed-off-by: Cyril Bu
On Tue, 2015-06-02 at 10:33 +0530, Kamalesh Babulal wrote:
> * Michael Ellerman [2015-06-01 21:26:51]:
>
> > On Thu, 2015-05-28 at 10:03 +0530, Kamalesh Babulal wrote:
> > > We print the respective warning after parsing EPOW interrupts,
> > > prompting user to
On Tue, 2015-05-19 at 18:45 +0530, trigg wrote:
>
> > On 18-May-2015, at 20:48, Vipin K Parashar wrote:
> >
> > This patch adds support for FSP EPOW (Early Power Off Warning) and
> > DPO (Delayed Power Off) events for PowerNV platform. EPOW events are
> > generated by SPCN/FSP due to various cri
On Wed, 2015-20-05 at 09:59:52 UTC, Jiang Liu wrote:
> Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we
> already have a pointer to corresponding irq_desc.
>
> Signed-off-by: Jiang Liu
> ---
> arch/powerpc/platforms/52xx/mpc52xx_gpt.c |2 +-
> arch/powerpc/platforms/
On Mon, 2015-18-05 at 15:18:04 UTC, Vipin K Parashar wrote:
> This patch adds support for FSP EPOW (Early Power Off Warning) and
Please spell out the acronyms the first time you use them, including FSP.
> DPO (Delayed Power Off) events for PowerNV platform. EPOW events are
../../../scripts/dtc/libfdt
> CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"'
>
> subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
Acked-by: Michael Ellerman
cheers
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
On Thu, 2015-04-06 at 09:34:41 UTC, Geert Uytterhoeven wrote:
> "IS_ENABLED(PPC_PSERIES)" always evaluates to false, as IS_ENABLED() is
> supposed to be used with the full Kconfig symbol name, including the
> "CONFIG_" prefix.
>
> Add the missing "CONFIG_" prefix to fix this.
>
> Fixes: a25095d45
On Fri, 2015-29-05 at 03:55:59 UTC, Jeremy Kerr wrote:
> This change adds a char device to access the "PRD" (processor runtime
> diagnostics) channel to OPAL firmware.
>
> Includes contributions from Vaidyanathan Srinivasan, Neelesh Gupta &
> Vishal Kulkarni.
>
> Signed-off-by: Neelesh Gupta
> S
1 - 100 of 15552 matches
Mail list logo