Re: [powerpc/powervm]Oops: Kernel access of bad area, sig: 11 [#1] while running stress-ng

2018-07-19 Thread vrbagal1
On 2018-07-19 19:03, Brian Foster wrote: cc linux-xfs On Thu, Jul 19, 2018 at 11:47:59AM +0530, vrbagal1 wrote: On 2018-07-10 19:12, Michael Ellerman wrote: > vrbagal1 writes: > > > On 2018-07-10 13:37, Nicholas Piggin wrote: > > > On Tue, 10 Jul 2018 11:58:40 +0530 > > > vrbagal1 wrote: > >

Re: [PATCH 4/7] x86,tlb: make lazy TLB mode lazier

2018-07-19 Thread Benjamin Herrenschmidt
On Thu, 2018-07-19 at 10:04 -0700, Andy Lutomirski wrote: > On Thu, Jul 19, 2018 at 9:45 AM, Andy Lutomirski wrote: > > [I added PeterZ and Vitaly -- can you see any way in which this would > > break something obscure? I don't.] Added Nick and Aneesh. We do have HW remote flushes on powerpc. >

Re: [PATCH v3] PCI: Data corruption happening due to race condition

2018-07-19 Thread Benjamin Herrenschmidt
On Thu, 2018-07-19 at 20:55 +0200, Lukas Wunner wrote: > On Thu, Jul 19, 2018 at 9:48 AM, Benjamin Herrenschmidt > > Indeed. However I'm not fan of the solution. Shouldn't we instead have > > some locking for the content of pci_dev? I've always been wary of us > > having other similar races in

[RFC 4/4] virtio: Add platform specific DMA API translation for virito devices

2018-07-19 Thread Anshuman Khandual
This adds a hook which a platform can define in order to allow it to override virtio device's DMA OPS irrespective of whether it has the flag VIRTIO_F_IOMMU_PLATFORM set or not. We want to use this to do bounce-buffering of data on the new secure pSeries platform, currently under development,

[RFC 3/4] virtio: Force virtio core to use DMA API callbacks for all virtio devices

2018-07-19 Thread Anshuman Khandual
Virtio core should use DMA API callbacks for all virtio devices which may generate either GAP or IOVA depending on VIRTIO_F_IOMMU_PLATFORM flag and resulting QEMU expectations. This implies that every virtio device needs to have a DMA OPS structure. This removes previous GPA fallback code paths.

[RFC 2/4] virtio: Override device's DMA OPS with virtio_direct_dma_ops selectively

2018-07-19 Thread Anshuman Khandual
Now that virtio core always needs all virtio devices to have DMA OPS, we need to make sure that the structure it points is the right one. In the absence of VIRTIO_F_IOMMU_PLATFORM flag QEMU expects GPA from guest kernel. In such case, virtio device must use default virtio_direct_dma_ops DMA OPS

[RFC 1/4] virtio: Define virtio_direct_dma_ops structure

2018-07-19 Thread Anshuman Khandual
Current implementation of DMA API inside virtio core calls device's DMA OPS callback functions when the flag VIRTIO_F_IOMMU_PLATFORM flag is set. But in absence of the flag, virtio core falls back calling basic transformation of the incoming SG addresses as GPA. Going forward virtio should only

[RFC 0/4] Virtio uses DMA API for all devices

2018-07-19 Thread Anshuman Khandual
This patch series is the follow up on the discussions we had before about the RFC titled [RFC,V2] virtio: Add platform specific DMA API translation for virito devices (https://patchwork.kernel.org/patch/10417371/). There were suggestions about doing away with two different paths of transactions

Re: [kernel,v7,1/2] vfio/spapr: Use IOMMU pageshift rather than pagesize

2018-07-19 Thread Paul Mackerras
On Thu, Jul 19, 2018 at 04:06:10PM +1000, Michael Ellerman wrote: > On Tue, 2018-07-17 at 07:19:12 UTC, Alexey Kardashevskiy wrote: > > The size is always equal to 1 page so let's use this. Later on this will > > be used for other checks which use page shifts to check the granularity > > of

Re: [RESEND][PATCH] powerpc/powernv : Save/Restore SPRG3 on entry/exit from stop.

2018-07-19 Thread Michael Neuling
On Fri, 2018-07-20 at 12:32 +1000, Michael Ellerman wrote: > Michael Neuling writes: > > On Wed, 2018-07-18 at 13:42 +0530, Gautham R Shenoy wrote: > > > On Wed, Jul 18, 2018 at 09:24:19AM +1000, Michael Neuling wrote: > > > > > > > > > DEFINE(PPC_DBELL_SERVER, PPC_DBELL_SERVER); > > > > >

Re: linux-next: manual merge of the powerpc tree with the powerpc-fixes tree

2018-07-19 Thread Michael Ellerman
Stephen Rothwell writes: > Hi all, > > Today's linux-next merge of the powerpc tree got a conflict in: > > drivers/vfio/vfio_iommu_spapr_tce.c > > between commit: > > 1463edca6734 ("vfio/spapr: Use IOMMU pageshift rather than pagesize") > > from the powerpc-fixes tree and commit: > >

Re: [RESEND][PATCH] powerpc/powernv : Save/Restore SPRG3 on entry/exit from stop.

2018-07-19 Thread Michael Ellerman
Michael Neuling writes: > On Wed, 2018-07-18 at 13:42 +0530, Gautham R Shenoy wrote: >> On Wed, Jul 18, 2018 at 09:24:19AM +1000, Michael Neuling wrote: >> > >> > > DEFINE(PPC_DBELL_SERVER, PPC_DBELL_SERVER); >> > > diff --git a/arch/powerpc/kernel/idle_book3s.S >> > >

Re: [RESEND][PATCH] powerpc/powernv : Save/Restore SPRG3 on entry/exit from stop.

2018-07-19 Thread Michael Neuling
On Wed, 2018-07-18 at 13:42 +0530, Gautham R Shenoy wrote: > Hello Mikey, > > On Wed, Jul 18, 2018 at 09:24:19AM +1000, Michael Neuling wrote: > > > > > DEFINE(PPC_DBELL_SERVER, PPC_DBELL_SERVER); > > > diff --git a/arch/powerpc/kernel/idle_book3s.S > > > b/arch/powerpc/kernel/idle_book3s.S >

linux-next: manual merge of the powerpc tree with the powerpc-fixes tree

2018-07-19 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in: drivers/vfio/vfio_iommu_spapr_tce.c between commit: 1463edca6734 ("vfio/spapr: Use IOMMU pageshift rather than pagesize") from the powerpc-fixes tree and commit: 00a5c58d9499 ("KVM: PPC: Make

Re: [PATCH v3] PCI: Data corruption happening due to race condition

2018-07-19 Thread Hari Vyas
Hi Bjonr, Ben On Thu, Jul 19, 2018 at 9:48 AM, Benjamin Herrenschmidt wrote: > On Wed, 2018-07-18 at 18:29 -0500, Bjorn Helgaas wrote: >> [+cc Paul, Michael, linuxppc-dev] >> > >/... > >> > Debugging revealed a race condition between pcie core driver >> > enabling is_added

Re: Improvements for the PS3

2018-07-19 Thread Fredrik Noring
Hi Geert, Geoff, > > > so I added a sleep with > > > > > > + msleep(1); > > I can't see where you added the sleep, but 10s seems excessive. > If the real reason is the need to wait for an interrupt for > ps3fb_sync_image(), > then waiting for 40 ms should be sufficient? Or am I missing

Re: [PATCH v7 4/4] kexec_file: Load kernel at top of system RAM if required

2018-07-19 Thread Andrew Morton
On Thu, 19 Jul 2018 23:17:53 +0800 Baoquan He wrote: > Hi Andrew, > > On 07/18/18 at 03:33pm, Andrew Morton wrote: > > On Wed, 18 Jul 2018 10:49:44 +0800 Baoquan He wrote: > > > > > For kexec_file loading, if kexec_buf.top_down is 'true', the memory which > > > is used to load

Re: [PATCH] powerpc/msi: Remove VLA usage

2018-07-19 Thread Kees Cook
On Thu, Jul 19, 2018 at 5:17 AM, Michael Ellerman wrote: > Kees Cook writes: > >> On Fri, Jun 29, 2018 at 11:52 AM, Kees Cook wrote: >>> In the quest to remove all stack VLA usage from the kernel[1], this >>> switches from an unchanging variable to a constant expression to eliminate >>> the VLA

Re: [PATCH 4/7] x86,tlb: make lazy TLB mode lazier

2018-07-19 Thread Andy Lutomirski
On Thu, Jul 19, 2018 at 9:45 AM, Andy Lutomirski wrote: > [I added PeterZ and Vitaly -- can you see any way in which this would > break something obscure? I don't.] > > On Thu, Jul 19, 2018 at 7:14 AM, Rik van Riel wrote: >> I guess we can skip both switch_ldt and load_mm_cr4 if real_prev

Re: [PATCH v7 1/4] resource: Move reparent_resources() to kernel/resource.c and make it public

2018-07-19 Thread Baoquan He
On 07/18/18 at 07:37pm, Andy Shevchenko wrote: > On Wed, Jul 18, 2018 at 7:36 PM, Andy Shevchenko > wrote: > > On Wed, Jul 18, 2018 at 5:49 AM, Baoquan He wrote: > >> reparent_resources() is duplicated in arch/microblaze/pci/pci-common.c > >> and arch/powerpc/kernel/pci-common.c, so move it to

Re: [PATCH v7 4/4] kexec_file: Load kernel at top of system RAM if required

2018-07-19 Thread Baoquan He
Hi Andrew, On 07/18/18 at 03:33pm, Andrew Morton wrote: > On Wed, 18 Jul 2018 10:49:44 +0800 Baoquan He wrote: > > > For kexec_file loading, if kexec_buf.top_down is 'true', the memory which > > is used to load kernel/initrd/purgatory is supposed to be allocated from > > top to down. This is

Re: Improvements for the PS3

2018-07-19 Thread Geoff Levand
Hi Geert, Fredrik, On 07/19/2018 12:45 AM, Geert Uytterhoeven wrote: >> On 07/14/2018 09:49 AM, Fredrik Noring wrote: >>> >>> et voilà, the screen came alive and the kernel panic was revealed! It seems >>> the kernel panics so fast that the PS3 frame buffer is unprepared. This is, >>> of course,

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Alan Stern
On Thu, 19 Jul 2018, Geoff Levand wrote: > Hi Alan, > > On 07/19/2018 07:33 AM, Alan Stern wrote: > > On Wed, 18 Jul 2018, Geoff Levand wrote: > > > >> diff --git a/drivers/usb/host/ehci-ps3.c b/drivers/usb/host/ehci-ps3.c > >> index 8c733492d8fe..454d8c624a3f 100644 > >> ---

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Geoff Levand
Hi Alan, On 07/19/2018 07:33 AM, Alan Stern wrote: > On Wed, 18 Jul 2018, Geoff Levand wrote: > >> diff --git a/drivers/usb/host/ehci-ps3.c b/drivers/usb/host/ehci-ps3.c >> index 8c733492d8fe..454d8c624a3f 100644 >> --- a/drivers/usb/host/ehci-ps3.c >> +++ b/drivers/usb/host/ehci-ps3.c >> @@

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Alan Stern
On Wed, 18 Jul 2018, Geoff Levand wrote: > Set the coherent_dma_mask for the PS3 ehci, ohci, and snd devices. > > Silences WARN_ON_ONCE messages emitted by the dma_alloc_attrs() routine. > > Reported-by: Fredrik Noring > Signed-off-by: Geoff Levand > --- > Hi Michael, > > This just silences

[PATCH] powerpc/mm: Don't report PUDs as memory leaks when using kmemleak

2018-07-19 Thread Michael Ellerman
Paul Menzel reported that kmemleak was producing reports such as: unreferenced object 0xc000f8b8 (size 16384): comm "init", pid 1, jiffies 4294937416 (age 312.240s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Re: [powerpc/powervm]Oops: Kernel access of bad area, sig: 11 [#1] while running stress-ng

2018-07-19 Thread Brian Foster
cc linux-xfs On Thu, Jul 19, 2018 at 11:47:59AM +0530, vrbagal1 wrote: > On 2018-07-10 19:12, Michael Ellerman wrote: > > vrbagal1 writes: > > > > > On 2018-07-10 13:37, Nicholas Piggin wrote: > > > > On Tue, 10 Jul 2018 11:58:40 +0530 > > > > vrbagal1 wrote: > > > > > > > > > Hi, > > > > >

Re: [PATCH v6 2/2] hwmon: ibmpowernv: Add attributes to enable/disable sensor groups

2018-07-19 Thread Guenter Roeck
On 07/18/2018 11:59 PM, Stewart Smith wrote: Shilpasri G Bhat writes: On-Chip-Controller(OCC) is an embedded micro-processor in POWER9 chip which measures various system and chip level sensors. These sensors comprises of environmental sensors (like power, temperature, current and voltage) and

Re: [PATCH v5 5/7] powerpc/pseries: flush SLB contents on SLB MCE errors.

2018-07-19 Thread Michael Ellerman
Michal Suchánek writes: > On Tue, 3 Jul 2018 08:08:14 +1000 > "Nicholas Piggin" wrote: >> On Mon, 02 Jul 2018 11:17:06 > +0530 >> Mahesh J Salgaonkar wrote: >> > From: Mahesh Salgaonkar >> > diff --git a/arch/powerpc/kernel/mce.c b/arch/powerpc/kernel/mce.c >> > index

Re: [PATCH] powerpc/msi: Remove VLA usage

2018-07-19 Thread Michael Ellerman
Kees Cook writes: > On Fri, Jun 29, 2018 at 11:52 AM, Kees Cook wrote: >> In the quest to remove all stack VLA usage from the kernel[1], this >> switches from an unchanging variable to a constant expression to eliminate >> the VLA generation. >> >> [1] >>

Re: [PATCH v4 4/6] powerpc/fsl: Enable cpu vulnerabilities reporting for NXP PPC BOOK3E

2018-07-19 Thread Michael Ellerman
LEROY Christophe writes: > Diana Madalina Craciun a écrit : >> On 7/17/2018 7:47 PM, LEROY Christophe wrote: >>> Diana Craciun a écrit : The NXP PPC Book3E platforms are not vulnerable to meltdown and Spectre v4, so make them PPC_BOOK3S_64 specific. Signed-off-by: Diana

Re: [PATCH] powerpc/prom_init: remove linux,stdout-package property

2018-07-19 Thread Michael Ellerman
Murilo Opsfelder Araujo writes: > On Wed, Jul 18, 2018 at 07:37:37PM +1000, Michael Ellerman wrote: >> Murilo Opsfelder Araujo writes: >> > This property was added in 2004 by >> > >> > >> > https://github.com/mpe/linux-fullhistory/commit/689fe5072fe9a0dec914bfa4fa60aed1e54563e6 >> > >> >

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Michael Ellerman
Greg KH writes: > On Wed, Jul 18, 2018 at 03:08:33PM -0700, Geoff Levand wrote: >> Set the coherent_dma_mask for the PS3 ehci, ohci, and snd devices. >> >> Silences WARN_ON_ONCE messages emitted by the dma_alloc_attrs() routine. >> >> Reported-by: Fredrik Noring >> Signed-off-by: Geoff Levand

Re: [RFC PATCH v6 0/4] powerpc/fadump: Improvements and fixes for firmware-assisted dump.

2018-07-19 Thread Michal Hocko
On Wed 18-07-18 21:52:17, Mahesh Jagannath Salgaonkar wrote: > On 07/17/2018 05:22 PM, Michal Hocko wrote: > > On Tue 17-07-18 16:58:10, Mahesh Jagannath Salgaonkar wrote: > >> On 07/16/2018 01:56 PM, Michal Hocko wrote: > >>> On Mon 16-07-18 11:32:56, Mahesh J Salgaonkar wrote: > One of the

Re: Improvements for the PS3

2018-07-19 Thread Geert Uytterhoeven
Hi Geoff, Frederik, On Thu, Jul 19, 2018 at 12:40 AM Geoff Levand wrote: > On 07/14/2018 09:49 AM, Fredrik Noring wrote: > > so I added a sleep with > > > > + msleep(1); I can't see where you added the sleep, but 10s seems excessive. If the real reason is the need to wait for an

Re: [PATCH v6 2/2] hwmon: ibmpowernv: Add attributes to enable/disable sensor groups

2018-07-19 Thread Stewart Smith
Shilpasri G Bhat writes: > On-Chip-Controller(OCC) is an embedded micro-processor in POWER9 chip > which measures various system and chip level sensors. These sensors > comprises of environmental sensors (like power, temperature, current > and voltage) and performance sensors (like utilization,

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Greg KH
On Wed, Jul 18, 2018 at 03:08:33PM -0700, Geoff Levand wrote: > Set the coherent_dma_mask for the PS3 ehci, ohci, and snd devices. > > Silences WARN_ON_ONCE messages emitted by the dma_alloc_attrs() routine. > > Reported-by: Fredrik Noring > Signed-off-by: Geoff Levand > --- > Hi Michael, > >

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Greg KH
On Thu, Jul 19, 2018 at 08:46:45AM +0200, Takashi Iwai wrote: > On Thu, 19 Jul 2018 00:08:33 +0200, > Geoff Levand wrote: > > > > Set the coherent_dma_mask for the PS3 ehci, ohci, and snd devices. > > > > Silences WARN_ON_ONCE messages emitted by the dma_alloc_attrs() routine. > > > >

Re: [PATCH] powerpc/ps3: Set driver coherent_dma_mask

2018-07-19 Thread Takashi Iwai
On Thu, 19 Jul 2018 00:08:33 +0200, Geoff Levand wrote: > > Set the coherent_dma_mask for the PS3 ehci, ohci, and snd devices. > > Silences WARN_ON_ONCE messages emitted by the dma_alloc_attrs() routine. > > Reported-by: Fredrik Noring > Signed-off-by: Geoff Levand For sound bits,

Re: [powerpc/powervm]Oops: Kernel access of bad area, sig: 11 [#1] while running stress-ng

2018-07-19 Thread vrbagal1
On 2018-07-10 19:12, Michael Ellerman wrote: vrbagal1 writes: On 2018-07-10 13:37, Nicholas Piggin wrote: On Tue, 10 Jul 2018 11:58:40 +0530 vrbagal1 wrote: Hi, Observing kernel oops on Power9(ZZ) box, running on PowerVM, while running stress-ng. Kernel: 4.18.0-rc4 Machine: Power9 ZZ

Re: powerpc: Replaced msleep(x) with msleep(OPAL_BUSY_DELAY_MS)

2018-07-19 Thread Michael Ellerman
On Wed, 2018-07-11 at 22:03:04 UTC, Daniel Klamt wrote: > Replaced msleep(x) with with msleep(OPAL_BUSY_DELAY_MS) > to diocument these sleep is to wait for opal. > > Signed-off-by: Daniel Klamt > Signed-off-by: Bjoern Noetel Applied to powerpc next, thanks.

Re: [kernel] powerpc/powernv/ioda2: Add 256M IOMMU page size to the default POWER8 case

2018-07-19 Thread Michael Ellerman
On Mon, 2018-07-02 at 07:42:05 UTC, Alexey Kardashevskiy wrote: > The sketchy bypass uses 256M pages so add this page size as well. > > This should cause no behavioral change but will be used later. > > Fixes: 477afd6ea6 "powerpc/ioda: Use ibm,supported-tce-sizes for IOMMU page > size mask" >

Re: powerpc: Remove Power8 DD1 from cputable

2018-07-19 Thread Michael Ellerman
On Wed, 2018-07-11 at 06:02:58 UTC, Joel Stanley wrote: > This was added to support an early version of Power8 that did not have > working doorbells. These machines were not publicly available, and all of > the internal users have long since upgraded. > > Signed-off-by: Joel Stanley Applied to

Re: powerpc/msi: Remove VLA usage

2018-07-19 Thread Michael Ellerman
On Fri, 2018-06-29 at 18:52:54 UTC, Kees Cook wrote: > In the quest to remove all stack VLA usage from the kernel[1], this > switches from an unchanging variable to a constant expression to eliminate > the VLA generation. > > [1] >

Re: powerpc/kdump: handle crashkernel memory reservation failure

2018-07-19 Thread Michael Ellerman
On Thu, 2018-06-28 at 05:19:56 UTC, Hari Bathini wrote: > Memory reservation for crashkernel could fail if there are holes around > kdump kernel offset (128M). Fail gracefully in such cases and print an > error message. > > Signed-off-by: Hari Bathini > Tested-by: David Gibson > Reviewed-by:

Re: [RESEND, 1/3] powerpc: dts: use 'atmel' as at24 anufacturer for pdm360ng

2018-07-19 Thread Michael Ellerman
On Thu, 2018-06-21 at 08:33:03 UTC, Bartosz Golaszewski wrote: > Using 'at' as the part of the compatible string is now > deprecated. Use a correct string: 'atmel,'. > > Signed-off-by: Bartosz Golaszewski Series applied to powerpc next, thanks.

Re: powerpc: enable kernel XZ compression option on BOOK3S_32

2018-07-19 Thread Michael Ellerman
On Tue, 2018-06-19 at 20:52:30 UTC, Aaro Koskinen wrote: > Enable kernel XZ compression option on BOOK3S_32. Tested on G4 PowerBook. > > Signed-off-by: Aaro Koskinen Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/26064848efbca49c643d1237dc1f82 cheers

Re: powerpc/64s: Report SLB multi-hit rather than parity error

2018-07-19 Thread Michael Ellerman
On Wed, 2018-06-13 at 13:24:14 UTC, Michael Ellerman wrote: > When we take an SLB multi-hit on bare metal, we see both the multi-hit > and parity error bits set in DSISR. The user manuals indicates this is > expected to always happen on Power8, whereas on Power9 it says a > multi-hit will

Re: cpufreq: powernv: Remove global pstate ramp-down timer in POWER9

2018-07-19 Thread Michael Ellerman
On Wed, 2018-04-25 at 06:14:55 UTC, Shilpasri G Bhat wrote: > POWER9 doesnot support global pstate requests for the chip. So remove > the timer logic which slowly ramps down the global pstate in P9 > platforms. > > Signed-off-by: Shilpasri G Bhat > Acked-by: Viresh Kumar Applied to powerpc

Re: [v2] powerpc/powernv : Save/Restore SPRG3 on entry/exit from stop.

2018-07-19 Thread Michael Ellerman
On Wed, 2018-07-18 at 08:33:16 UTC, "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > On 64-bit servers, SPRN_SPRG3 and its userspace read-only mirror > SPRN_USPRG3 are used as userspace VDSO write and read registers > respectively. > > SPRN_SPRG3 is lost when we enter stop4 and above,

Re: [kernel, v7, 2/2] KVM: PPC: Check if IOMMU page is contained in the pinned physical page

2018-07-19 Thread Michael Ellerman
On Tue, 2018-07-17 at 07:19:13 UTC, Alexey Kardashevskiy wrote: > A VM which has: > - a DMA capable device passed through to it (eg. network card); > - running a malicious kernel that ignores H_PUT_TCE failure; > - capability of using IOMMU pages bigger that physical pages > can create an IOMMU

Re: [kernel, v7, 1/2] vfio/spapr: Use IOMMU pageshift rather than pagesize

2018-07-19 Thread Michael Ellerman
On Tue, 2018-07-17 at 07:19:12 UTC, Alexey Kardashevskiy wrote: > The size is always equal to 1 page so let's use this. Later on this will > be used for other checks which use page shifts to check the granularity > of access. > > This should cause no behavioral change. > > Reviewed-by: David

Re: powerpc/xmon: Fix disassembly since printf changes

2018-07-19 Thread Michael Ellerman
On Tue, 2018-07-17 at 00:50:38 UTC, Michael Ellerman wrote: > The recent change to add printf annotations to xmon inadvertently made > the disassembly output ugly, eg: > > c0002001e058 7ee00026 mfcrr23 > c0002001e05c fae101a0 std r23,416(r1) >

Re: powerpc/Makefile: Assemble with -me500 when building for E500

2018-07-19 Thread Michael Ellerman
On Thu, 2018-07-12 at 21:41:49 UTC, James Clarke wrote: > Some of the assembly files use instructions specific to BookE or E500, > which are rejected with the now-default -mcpu=powerpc, so we must pass > -me500 to the assembler just as we pass -me200 for E200. > > Fixes: 4bf4f42a2feb