Re: Please pull ARCPGU changes

2017-08-02 Thread Alexey Brodkin
Hi Alex, On Wed, 2017-08-02 at 14:24 -0400, Alex Deucher wrote: > On Wed, Aug 2, 2017 at 6:16 AM, Alexey Brodkin > wrote: > > > > Hi Daniel, > > > > On Wed, 2017-08-02 at 11:41 +0200, Daniel Vetter wrote: > > > > > > On Mon, Jul 31, 2017 at 11:11:06AM +, Alexey Brodkin wrote: > > > > > >

Re: pci: Add generic pcibios_{fixup_bus,align_resource}

2017-08-02 Thread Bjorn Helgaas
On Fri, Jun 23, 2017 at 06:50:41PM -0700, Palmer Dabbelt wrote: > While upstreaming the RISC-V port, it was pointed out that multiple > architectures have copied the mostly empty versions of at least one of these > functions. This defines weakly bound versions of the common functions and > removes

Re: Please pull ARCPGU changes

2017-08-02 Thread Alex Deucher
On Wed, Aug 2, 2017 at 6:16 AM, Alexey Brodkin wrote: > Hi Daniel, > > On Wed, 2017-08-02 at 11:41 +0200, Daniel Vetter wrote: >> On Mon, Jul 31, 2017 at 11:11:06AM +, Alexey Brodkin wrote: >> > >> > Hi Dave, >> > >> > Could you please pull a couple of minor fixes for ARCPGU. >> > These change

Re: snps, dwmac interrupt storm (Was: ARC770: "unexpected IRQ trap at vector 00" during boot)

2017-08-02 Thread Alexandru Gagniuc
On 08/01/2017 11:23 PM, Vineet Gupta wrote: On 08/02/2017 03:03 AM, Alex wrote: On 07/25/2017 08:08 PM, Vineet Gupta wrote: I have tried the workarouns I mentioned on top of linux 4.9.34, and it works exactly as expected. however, on top of 4.13-rc3 [1], the story is a lot different. As soon as

Re: ARC stuff (was Re: [PATCH -v2 1/4] mm: Rework {set,clear,mm}_tlb_flush_pending())

2017-08-02 Thread Peter Zijlstra
On Wed, Aug 02, 2017 at 06:30:43PM +0530, Vineet Gupta wrote: > On 08/02/2017 05:19 PM, Peter Zijlstra wrote: > > Commit: > > > >af2c1401e6f9 ("mm: numa: guarantee that tlb_flush_pending updates are > > visible before page table updates") > > > > added smp_mb__before_spinlock() to set_tlb_fl

ARC stuff (was Re: [PATCH -v2 1/4] mm: Rework {set,clear,mm}_tlb_flush_pending())

2017-08-02 Thread Vineet Gupta
On 08/02/2017 05:19 PM, Peter Zijlstra wrote: Commit: af2c1401e6f9 ("mm: numa: guarantee that tlb_flush_pending updates are visible before page table updates") added smp_mb__before_spinlock() to set_tlb_flush_pending(). I think we can solve the same problem without this barrier. If instead

Re: Please pull ARCPGU changes

2017-08-02 Thread Alexey Brodkin
Hi Daniel, On Wed, 2017-08-02 at 11:41 +0200, Daniel Vetter wrote: > On Mon, Jul 31, 2017 at 11:11:06AM +, Alexey Brodkin wrote: > > > > Hi Dave, > > > > Could you please pull a couple of minor fixes for ARCPGU. > > These changes are based on today's drm-misc/drm-misc-next. > > You can't se

Re: Please pull ARCPGU changes

2017-08-02 Thread Daniel Vetter
On Mon, Jul 31, 2017 at 11:11:06AM +, Alexey Brodkin wrote: > Hi Dave, > > Could you please pull a couple of minor fixes for ARCPGU. > These changes are based on today's drm-misc/drm-misc-next. You can't send Dave a pull based on a random snapshot of drm-misc-next. If you want to maintain you

Re: [PATCH] arc: arcv2: cache: Explicitly set MSB counterpart of region ops addresses

2017-08-02 Thread Vineet Gupta
On 08/02/2017 01:33 PM, Alexey Brodkin wrote: - write_aux_reg(ARC_REG_SLC_RGN_END, (paddr + sz + l2_line_sz - 1)); - write_aux_reg(ARC_REG_SLC_RGN_START, paddr); + end = paddr + sz + l2_line_sz - 1; + write_aux_reg(ARC_REG_SLC_RGN_END1, upper_32_bits(end)); + write

Re: [PATCH] arc: arcv2: cache: Explicitly set MSB counterpart of region ops addresses

2017-08-02 Thread Alexey Brodkin
Hi Vineet, On Wed, 2017-08-02 at 09:09 +0530, Vineet Gupta wrote: > On 08/01/2017 03:29 PM, Alexey Brodkin wrote: > > > > It is necessary to explicitly set both SLC_AUX_RGN_START1 and > > SLC_AUX_RGN_END1 > > which hold MSB bits of the physical address correspondingly of region start > > and end

Re: snps,dwmac interrupt storm (Was: ARC770: "unexpected IRQ trap at vector 00" during boot)

2017-08-02 Thread Alexey Brodkin
Hi Alex, On Wed, 2017-08-02 at 11:53 +0530, Vineet Gupta wrote: > On 08/02/2017 03:03 AM, Alex wrote: > > > > On 07/25/2017 08:08 PM, Vineet Gupta wrote: > > > > Hi Vineet, > > > > > > > > On 07/26/2017 01:41 AM, Alexey Brodkin wrote: > > > > > > > > BTW what is your exact kernel version? > >