The add_early_randomness() function in drivers/char/hw_random/core.c passes
a 16-byte buffer to pseries_rng_data_read(). Unfortunately, plpar_hcall()
returns four 64-bit values and trashes 16 bytes on the stack.
This bug has been lying around for a long time. It got unveiled by:
commit d3cc799647
On Fri, 2014-10-31 at 16:05 +1100, Anton Blanchard wrote:
> The ibm,pcie-link-speed-stats isn't mandatory, so we shouldn't print
> a high priority error message when missing. One example where we see
> this is QEMU.
>
> Reduce it to pr_info.
I would reduce it even further to pr_dbg.
Cheers,
Ben.
On 10/30/14, Alexei Starovoitov wrote:
> On Wed, Oct 29, 2014 at 11:12 PM, Denis Kirjanov
> wrote:
>> Add BPF extension SKF_AD_PKTTYPE to ppc JIT to load
>> skb->pkt_type field.
>>
>> Before:
>> [ 88.262622] test_bpf: #11 LD_IND_NET 86 97 99 PASS
>> [ 88.265740] test_bpf: #12 LD_PKTTYPE 109 1
Back in 7230c5644188 ("powerpc: Rework lazy-interrupt handling") we
added a call out to restore_interrupts() (written in c) before calling
do_notify_resume:
bl restore_interrupts
addir3,r1,STACK_FRAME_OVERHEAD
bl do_notify_resume
Unfortunately do_notify_resum
The ibm,pcie-link-speed-stats isn't mandatory, so we shouldn't print
a high priority error message when missing. One example where we see
this is QEMU.
Reduce it to pr_info.
Signed-off-by: Anton Blanchard
---
arch/powerpc/platforms/pseries/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
Move the declaration up to silence the warning.
Signed-off-by: Anton Blanchard
---
arch/powerpc/kernel/rtas-proc.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/arch/powerpc/kernel/rtas-proc.c b/arch/powerpc/kernel/rtas-proc.c
index 8777fb0..fb2fb3e 10
Looks like I introduced this when adding LE support.
Signed-off-by: Anton Blanchard
---
arch/powerpc/kernel/align.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/align.c b/arch/powerpc/kernel/align.c
index 34f5552..86150fb 100644
--- a/arch/powerpc/kerne
LLVM doesn't support local named register variables and is unlikely
to. current_thread_info is using one, fix it by moving it out and
calling it __current_r1().
I gave it a bit of an obscure name because we don't want anyone else
using it - they should use current_stack_pointer(). This specific
ca
Hello Michael,
On 10/30/2014 09:15 PM, Michael Ellerman wrote:
> On Thu, 2014-10-30 at 01:00 -0500, Emil Medve wrote:
>> On 09/17/2014 07:15 AM, Anton Blanchard wrote:
>>> At the moment we transition from the memblock alloctor to the bootmem
>>> allocator. Gitting rid of the bootmem allocator rem
Back in 7230c5644188 ("powerpc: Rework lazy-interrupt handling") we
added a call out to restore_interrupts() (written in c) before calling
do_notify_resume:
bl restore_interrupts
addir3,r1,STACK_FRAME_OVERHEAD
bl do_notify_resume
Unfortunately do_notify_resum
On Thu, 2014-10-30 at 01:00 -0500, Emil Medve wrote:
> On 09/17/2014 07:15 AM, Anton Blanchard wrote:
> > At the moment we transition from the memblock alloctor to the bootmem
> > allocator. Gitting rid of the bootmem allocator removes a bunch of
> > complicated code (most of which I owe the dubiou
On Thu, 2014-10-30 at 08:58 -0500, Emil Medve wrote:
> Hello Scott,
>
>
> On 10/28/2014 06:21 PM, Scott Wood wrote:
> > On Wed, 2014-10-22 at 09:42 -0500, Emil Medve wrote:
> >> Signed-off-by: Emil Medve
> >> Change-Id: I25ce24a25862b4ca460164159867abefe00ccdd1
> >
> > Please remove gerrit stuf
The CLK_OF_DECLARE part is addressed by:
http://patchwork.ozlabs.org/patch/400740/
http://patchwork.ozlabs.org/patch/400741/
http://patchwork.ozlabs.org/patch/400742/
...which does what I was asking earlier, getting rid of the (currently
broken due to a misguided attempt to remove an __init warnin
Fixes a race condition in abort handling that was injected
when multiple interrupt support was added. When only a single
interrupt is present, the adapter guarantees it will send
responses for aborted commands prior to the response for the
abort command itself. With multiple interrupts, these resp
From: Anton Blanchard
Use dma_set_mask_and_coherent() to set both the DMA and coherent
DMA mask.
Signed-off-by: Anton Blanchard
Signed-off-by: Brian King
---
drivers/scsi/ipr.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff -puN drivers/scsi/ipr.c~ipr_set_coherent
From: Anton Blanchard
Even though the ipr driver is only used on PCI, convert it
to use the generic DMA API.
Signed-off-by: Anton Blanchard
Signed-off-by: Brian King
---
drivers/scsi/ipr.c | 103 +++--
drivers/scsi/ipr.h |2 -
2 files cha
Hello Scott,
On 10/30/2014 04:26 PM, Scott Wood wrote:
> On Thu, 2014-10-30 at 11:45 -0500, Emil Medve wrote:
>> Hello Scott,
>>
>>
>> On 10/30/2014 11:29 AM, Scott Wood wrote:
>>> On Thu, 2014-10-30 at 11:19 -0500, Emil Medve wrote:
Hello Scott,
On 10/30/2014 09:51 AM, Scott
On Thu, 2014-10-30 at 11:45 -0500, Emil Medve wrote:
> Hello Scott,
>
>
> On 10/30/2014 11:29 AM, Scott Wood wrote:
> > On Thu, 2014-10-30 at 11:19 -0500, Emil Medve wrote:
> >> Hello Scott,
> >>
> >>
> >> On 10/30/2014 09:51 AM, Scott Wood wrote:
> >>> On Wed, 2014-10-29 at 23:32 -0500, Emil Med
On Wed, Oct 29, 2014 at 11:12 PM, Denis Kirjanov wrote:
> Add BPF extension SKF_AD_PKTTYPE to ppc JIT to load
> skb->pkt_type field.
>
> Before:
> [ 88.262622] test_bpf: #11 LD_IND_NET 86 97 99 PASS
> [ 88.265740] test_bpf: #12 LD_PKTTYPE 109 107 PASS
>
> After:
> [ 80.605964] test_bpf: #11
Hello Scott,
On 10/30/2014 11:29 AM, Scott Wood wrote:
> On Thu, 2014-10-30 at 11:19 -0500, Emil Medve wrote:
>> Hello Scott,
>>
>>
>> On 10/30/2014 09:51 AM, Scott Wood wrote:
>>> On Wed, 2014-10-29 at 23:32 -0500, Emil Medve wrote:
Hello Scott,
On 10/29/2014 05:16 PM, Scott
> -Original Message-
> From: Linuxppc-dev [mailto:linuxppc-dev-
> bounces+varun.sethi=freescale@lists.ozlabs.org] On Behalf Of Emil
> Medve
> Sent: Thursday, October 30, 2014 3:10 AM
> To: Wood Scott-B07421; Kumar Gala
> Cc: mark.rutl...@arm.com; devicet...@vger.kernel.org;
> pawel.m.
On Thu, 2014-10-30 at 11:19 -0500, Emil Medve wrote:
> Hello Scott,
>
>
> On 10/30/2014 09:51 AM, Scott Wood wrote:
> > On Wed, 2014-10-29 at 23:32 -0500, Emil Medve wrote:
> >> Hello Scott,
> >>
> >>
> >> On 10/29/2014 05:16 PM, Scott Wood wrote:
> >>> On Wed, 2014-10-29 at 16:40 -0500, Emil Med
Hello Scott,
On 10/30/2014 09:51 AM, Scott Wood wrote:
> On Wed, 2014-10-29 at 23:32 -0500, Emil Medve wrote:
>> Hello Scott,
>>
>>
>> On 10/29/2014 05:16 PM, Scott Wood wrote:
>>> On Wed, 2014-10-29 at 16:40 -0500, Emil Medve wrote:
Hello Scott,
On 10/28/2014 01:08 PM, Scott
On Wed, 2014-10-29 at 23:32 -0500, Emil Medve wrote:
> Hello Scott,
>
>
> On 10/29/2014 05:16 PM, Scott Wood wrote:
> > On Wed, 2014-10-29 at 16:40 -0500, Emil Medve wrote:
> >> Hello Scott,
> >>
> >>
> >> On 10/28/2014 01:08 PM, Scott Wood wrote:
> >>> On Tue, 2014-10-28 at 09:36 -0500, Kumar Ga
On Thu, 2014-10-30 at 08:59 -0500, Emil Medve wrote:
> On 10/30/2014 04:15 AM, Igal.Liberman wrote:
> > From: Igal Liberman
> >
> > The RCW registers are required for the future clock binding implementation.
> >
> > Signed-off-by: Igal Liberman
> > Change-Id: Ic36dd8bc2959aa7f97fb6fd7bbb8420822
On 10/30/2014 04:15 AM, Igal.Liberman wrote:
> From: Igal Liberman
>
> The RCW registers are required for the future clock binding implementation.
>
> Signed-off-by: Igal Liberman
> Change-Id: Ic36dd8bc2959aa7f97fb6fd7bbb8420822fef0a9
> ---
> arch/powerpc/include/asm/fsl_guts.h |5 -
>
Hello Scott,
On 10/28/2014 06:21 PM, Scott Wood wrote:
> On Wed, 2014-10-22 at 09:42 -0500, Emil Medve wrote:
>> Signed-off-by: Emil Medve
>> Change-Id: I25ce24a25862b4ca460164159867abefe00ccdd1
>
> Please remove gerrit stuff prior to submitting.
I did remove the bulk of it. I wanted to keep t
On 10/30/2014 04:11 AM, Christoph Hellwig wrote:
> On Wed, Oct 29, 2014 at 12:34:49PM -0500, Brian King wrote:
>> Acked-by: Brian King
>
> Doesn't apply to me.
>
> Brain, can you please resend a rebased version of these two patches with
> ipr error handlign patch (and anything else ipr related)?
On Oct 30, 2014, at 2:31 AM, Zhao Qiang wrote:
> LS1 is arm cpu and it has qe ip block.
> move qe code from platform directory to public directory.
>
> QE is an IP block integrates several comunications peripheral
> controllers. It can implement a variety of applications, such
> as uart, usb an
On Oct 30, 2014, at 2:31 AM, Zhao Qiang wrote:
> qe need to use the rheap, so move it to public directory.
>
> Signed-off-by: Zhao Qiang
> ---
> arch/powerpc/Kconfig| 3 ---
> arch/powerpc/include/asm/fsl_85xx_cache_sram.h | 2 +-
> arch/powerpc/lib/M
From: Igal Liberman
The RCW registers are required for the future clock binding implementation.
Signed-off-by: Igal Liberman
Change-Id: Ic36dd8bc2959aa7f97fb6fd7bbb8420822fef0a9
---
arch/powerpc/include/asm/fsl_guts.h |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/a
On Wed, Oct 29, 2014 at 12:34:49PM -0500, Brian King wrote:
> Acked-by: Brian King
Doesn't apply to me.
Brain, can you please resend a rebased version of these two patches with
ipr error handlign patch (and anything else ipr related)?
___
Linuxppc-dev
qe need to use the rheap, so move it to public directory.
Signed-off-by: Zhao Qiang
---
arch/powerpc/Kconfig| 3 ---
arch/powerpc/include/asm/fsl_85xx_cache_sram.h | 2 +-
arch/powerpc/lib/Makefile | 2 --
arch/powerpc/pl
qe need to call some common functions,
add a new file drivers/soc/fsl-qe/qe_common.c
for them.
Signed-off-by: Zhao Qiang
---
drivers/soc/fsl-qe/Makefile| 2 +-
drivers/soc/fsl-qe/qe_common.c | 185 +
include/linux/fsl/qe.h | 52 ++--
LS1 is arm cpu and it has qe ip block.
move qe code from platform directory to public directory.
QE is an IP block integrates several comunications peripheral
controllers. It can implement a variety of applications, such
as uart, usb and tdm and so on.
Signed-off-by: Zhao Qiang
---
Changes for v
On Thu, Oct 30, 2014 at 02:51:57PM +1100, Michael Ellerman wrote:
> On Tue, 2014-10-28 at 18:06 +0100, Johannes Thumshirn wrote:
> > Hi,
> >
> > I got notified about your patch to support multiple MSI Vectors on Freescale
> > PowerPC platforms. Is there any reason why it wasn't applied until now? I
36 matches
Mail list logo