Re: nvme crash - Re: linux-next: Tree for Aug 13

2020-08-14 Thread John Garry

On 14/08/2020 14:07, John Garry wrote:


BTW, as for the DMA/sg scatterlist code, it so happens in this case that 
we try the dma alloc for size=0 in nvme_alloc_queue() - I know an 
allocation for size=0 makes no sense, but couldn't we bit a bit more 
robust?


it's giving ZERO_SIZE_PTR, which we deference, so ignore me...


Re: nvme crash - Re: linux-next: Tree for Aug 13

2020-08-14 Thread John Garry

On 14/08/2020 13:08, Christoph Hellwig wrote:

[148.455065]__sg_alloc_table_from_pages+0xec/0x238
[148.459931]sg_alloc_table_from_pages+0x18/0x28
[148.464541]iommu_dma_alloc+0x474/0x678
[148.468455]dma_alloc_attrs+0xd8/0xf0
[148.472193]nvme_alloc_queue+0x114/0x160 [nvme]
[148.476798]nvme_reset_work+0xb34/0x14b4 [nvme]
[148.481407]process_one_work+0x1e8/0x360
[148.485405]worker_thread+0x44/0x478
[148.489055]kthread+0x150/0x158
[148.492273]ret_from_fork+0x10/0x34
[148.495838] Code: f94002c3 6b01017f 540007c2 11000486 (f8645aa5)
[148.501921] ---[ end trace 89bb2b72d59bf925 ]---

Anything to worry about? I guess not since we're in the merge window, but
mentioning just in case ...

I bisected, and this patch looks to fix it (note the comments below the
'---'):

 From 263891a760edc24b901085bf6e5fe2480808f86d Mon Sep 17 00:00:00 2001
From: John Garry
Date: Fri, 14 Aug 2020 12:45:18 +0100
Subject: [PATCH] nvme-pci: Use u32 for nvme_dev.q_depth

Recently nvme_dev.q_depth was changed from int to u16 type.

This falls over for the queue depth calculation in nvme_pci_enable(),
where NVME_CAP_MQES(dev->ctrl.cap) + 1 may overflow, as NVME_CAP_MQES()
gives a 16b number also. That happens for me, and this is the result:

Oh, interesting.  Please also switch the module option parsing to
use kstrtou32 and param_set_uint and send this as a formal patch.



I'm doing it now.

BTW, as for the DMA/sg scatterlist code, it so happens in this case that 
we try the dma alloc for size=0 in nvme_alloc_queue() - I know an 
allocation for size=0 makes no sense, but couldn't we bit a bit more robust?


Cheers,
John





Re: nvme crash - Re: linux-next: Tree for Aug 13

2020-08-14 Thread Christoph Hellwig
On Fri, Aug 14, 2020 at 01:00:30PM +0100, John Garry wrote:
> 
> > > I have experienced this this crash below on linux-next for the last few 
> > > days
> > > on my arm64 system. Linus' master branch today also has it.
> > Adding Robin and the iommu list as this seems to be in the dma-iommu
> > code.
> > 
> > > root@ubuntu:/home/john# insmod nvme.ko
> > > [148.254564] nvme :81:00.0: Adding to iommu group 21
> > > [148.260973] nvme nvme0: pci function :81:00.0
> > > root@ubuntu:/home/john# [148.272996] Unable to handle kernel NULL pointer
> > > dereference at virtual address 0010
> > > [148.281784] Mem abort info:
> > > [148.284584] ESR = 0x9604
> > > [148.287641] EC = 0x25: DABT (current EL), IL = 32 bits
> > > [148.292950] SET = 0, FnV = 0
> > > [148.295998] EA = 0, S1PTW = 0
> > > [148.299126] Data abort info:
> > > [148.302003] ISV = 0, ISS = 0x0004
> > > [148.305832] CM = 0, WnR = 0
> > > [148.308794] user pgtable: 4k pages, 48-bit VAs, pgdp=0a27bf3c9000
> > > [148.315229] [0010] pgd=, p4d=
> > > [148.322016] Internal error: Oops: 9604 [#1] PREEMPT SMP
> > > [148.327577] Modules linked in: nvme nvme_core
> > > [148.331927] CPU: 56 PID: 256 Comm: kworker/u195:0 Not tainted
> > > 5.8.0-next-20200812 #27
> > > [148.339744] Hardware name: Huawei D06 /D06, BIOS Hisilicon D06 UEFI RC0 -
> > > V1.16.01 03/15/2019
> > > [148.348260] Workqueue: nvme-reset-wq nvme_reset_work [nvme]
> > > [148.353822] pstate: 80c9 (Nzcv daif +PAN +UAO BTYPE=--)
> > > [148.359390] pc : __sg_alloc_table_from_pages+0xec/0x238
> > > [148.364604] lr : __sg_alloc_table_from_pages+0xc8/0x238
> > > [148.369815] sp : 800013ccbad0
> > > [148.373116] x29: 800013ccbad0 x28: 0a27b3d380a8
> > > [148.378417] x27:  x26: 2dc2
> > > [148.383718] x25: 0dc0 x24: 
> > > [148.389019] x23:  x22: 800013ccbbe8
> > > [148.394320] x21: 0010 x20: 
> > > [148.399621] x19: f000 x18: 
> > > [148.404922] x17: 00c0 x16: fe289eaf6380
> > > [148.410223] x15: 800011b59948 x14: 002bc8fe98f8
> > > [148.415523] x13: ff00 x12: 8000114ca000
> > > [148.420824] x11:  x10: 
> > > [148.426124] x9 : ffc0 x8 : 0a27b5f9b6a0
> > > [148.431425] x7 :  x6 : 0001
> > > [148.436726] x5 : 0a27b5f9b680 x4 : 
> > > [148.442027] x3 : 0a27b5f9b680 x2 : 
> > > [148.447328] x1 : 0001 x0 : 
> > > [148.452629] Call trace:
> > > [148.455065]__sg_alloc_table_from_pages+0xec/0x238
> > > [148.459931]sg_alloc_table_from_pages+0x18/0x28
> > > [148.464541]iommu_dma_alloc+0x474/0x678
> > > [148.468455]dma_alloc_attrs+0xd8/0xf0
> > > [148.472193]nvme_alloc_queue+0x114/0x160 [nvme]
> > > [148.476798]nvme_reset_work+0xb34/0x14b4 [nvme]
> > > [148.481407]process_one_work+0x1e8/0x360
> > > [148.485405]worker_thread+0x44/0x478
> > > [148.489055]kthread+0x150/0x158
> > > [148.492273]ret_from_fork+0x10/0x34
> > > [148.495838] Code: f94002c3 6b01017f 540007c2 11000486 (f8645aa5)
> > > [148.501921] ---[ end trace 89bb2b72d59bf925 ]---
> > > 
> > > Anything to worry about? I guess not since we're in the merge window, but
> > > mentioning just in case ...
> 
> I bisected, and this patch looks to fix it (note the comments below the
> '---'):
> 
> From 263891a760edc24b901085bf6e5fe2480808f86d Mon Sep 17 00:00:00 2001
> From: John Garry 
> Date: Fri, 14 Aug 2020 12:45:18 +0100
> Subject: [PATCH] nvme-pci: Use u32 for nvme_dev.q_depth
> 
> Recently nvme_dev.q_depth was changed from int to u16 type.
> 
> This falls over for the queue depth calculation in nvme_pci_enable(),
> where NVME_CAP_MQES(dev->ctrl.cap) + 1 may overflow, as NVME_CAP_MQES()
> gives a 16b number also. That happens for me, and this is the result:

Oh, interesting.  Please also switch the module option parsing to
use kstrtou32 and param_set_uint and send this as a formal patch.

Thanks!


Re: nvme crash - Re: linux-next: Tree for Aug 13

2020-08-14 Thread John Garry




I have experienced this this crash below on linux-next for the last few days
on my arm64 system. Linus' master branch today also has it.

Adding Robin and the iommu list as this seems to be in the dma-iommu
code.


root@ubuntu:/home/john# insmod nvme.ko
[148.254564] nvme :81:00.0: Adding to iommu group 21
[148.260973] nvme nvme0: pci function :81:00.0
root@ubuntu:/home/john# [148.272996] Unable to handle kernel NULL pointer
dereference at virtual address 0010
[148.281784] Mem abort info:
[148.284584] ESR = 0x9604
[148.287641] EC = 0x25: DABT (current EL), IL = 32 bits
[148.292950] SET = 0, FnV = 0
[148.295998] EA = 0, S1PTW = 0
[148.299126] Data abort info:
[148.302003] ISV = 0, ISS = 0x0004
[148.305832] CM = 0, WnR = 0
[148.308794] user pgtable: 4k pages, 48-bit VAs, pgdp=0a27bf3c9000
[148.315229] [0010] pgd=, p4d=
[148.322016] Internal error: Oops: 9604 [#1] PREEMPT SMP
[148.327577] Modules linked in: nvme nvme_core
[148.331927] CPU: 56 PID: 256 Comm: kworker/u195:0 Not tainted
5.8.0-next-20200812 #27
[148.339744] Hardware name: Huawei D06 /D06, BIOS Hisilicon D06 UEFI RC0 -
V1.16.01 03/15/2019
[148.348260] Workqueue: nvme-reset-wq nvme_reset_work [nvme]
[148.353822] pstate: 80c9 (Nzcv daif +PAN +UAO BTYPE=--)
[148.359390] pc : __sg_alloc_table_from_pages+0xec/0x238
[148.364604] lr : __sg_alloc_table_from_pages+0xc8/0x238
[148.369815] sp : 800013ccbad0
[148.373116] x29: 800013ccbad0 x28: 0a27b3d380a8
[148.378417] x27:  x26: 2dc2
[148.383718] x25: 0dc0 x24: 
[148.389019] x23:  x22: 800013ccbbe8
[148.394320] x21: 0010 x20: 
[148.399621] x19: f000 x18: 
[148.404922] x17: 00c0 x16: fe289eaf6380
[148.410223] x15: 800011b59948 x14: 002bc8fe98f8
[148.415523] x13: ff00 x12: 8000114ca000
[148.420824] x11:  x10: 
[148.426124] x9 : ffc0 x8 : 0a27b5f9b6a0
[148.431425] x7 :  x6 : 0001
[148.436726] x5 : 0a27b5f9b680 x4 : 
[148.442027] x3 : 0a27b5f9b680 x2 : 
[148.447328] x1 : 0001 x0 : 
[148.452629] Call trace:
[148.455065]__sg_alloc_table_from_pages+0xec/0x238
[148.459931]sg_alloc_table_from_pages+0x18/0x28
[148.464541]iommu_dma_alloc+0x474/0x678
[148.468455]dma_alloc_attrs+0xd8/0xf0
[148.472193]nvme_alloc_queue+0x114/0x160 [nvme]
[148.476798]nvme_reset_work+0xb34/0x14b4 [nvme]
[148.481407]process_one_work+0x1e8/0x360
[148.485405]worker_thread+0x44/0x478
[148.489055]kthread+0x150/0x158
[148.492273]ret_from_fork+0x10/0x34
[148.495838] Code: f94002c3 6b01017f 540007c2 11000486 (f8645aa5)
[148.501921] ---[ end trace 89bb2b72d59bf925 ]---

Anything to worry about? I guess not since we're in the merge window, but
mentioning just in case ...


I bisected, and this patch looks to fix it (note the comments below the 
'---'):


From 263891a760edc24b901085bf6e5fe2480808f86d Mon Sep 17 00:00:00 2001
From: John Garry 
Date: Fri, 14 Aug 2020 12:45:18 +0100
Subject: [PATCH] nvme-pci: Use u32 for nvme_dev.q_depth

Recently nvme_dev.q_depth was changed from int to u16 type.

This falls over for the queue depth calculation in nvme_pci_enable(),
where NVME_CAP_MQES(dev->ctrl.cap) + 1 may overflow, as NVME_CAP_MQES()
gives a 16b number also. That happens for me, and this is the result:

root@ubuntu:/home/john# [148.272996] Unable to handle kernel NULL pointer
dereference at virtual address 0010
[148.281784] Mem abort info:
[148.284584] ESR = 0x9604
[148.287641] EC = 0x25: DABT (current EL), IL = 32 bits
[148.292950] SET = 0, FnV = 0
[148.295998] EA = 0, S1PTW = 0
[148.299126] Data abort info:
[148.302003] ISV = 0, ISS = 0x0004
[148.305832] CM = 0, WnR = 0
[148.308794] user pgtable: 4k pages, 48-bit VAs, pgdp=0a27bf3c9000
[148.315229] [0010] pgd=, p4d=
[148.322016] Internal error: Oops: 9604 [#1] PREEMPT SMP
[148.327577] Modules linked in: nvme nvme_core
[148.331927] CPU: 56 PID: 256 Comm: kworker/u195:0 Not tainted
5.8.0-next-20200812 #27
[148.339744] Hardware name: Huawei D06 /D06, BIOS Hisilicon D06 UEFI RC0 -
V1.16.01 03/15/2019
[148.348260] Workqueue: nvme-reset-wq nvme_reset_work [nvme]
[148.353822] pstate: 80c9 (Nzcv daif +PAN +UAO BTYPE=--)
[148.359390] pc : __sg_alloc_table_from_pages+0xec/0x238
[148.364604] lr : __sg_alloc_table_from_pages+0xc8/0x238
[148.369815] sp : 800013ccbad0
[148.373116] x29: 800013ccbad0 x28: 0a27b3d380a8
[148.378417] x27:  x26: 2dc2
[148.383718] x25: 0dc0 x24: 
[148.389019] x23:  x22: 800013ccbbe8
[148.394320] x21: 0010 x20: 
[148.399621] x19: f000 x18: 
[148.404922] x17: 

Re: linux-next: Tree for Aug 13 (drivers/media/i2c/max9286.c)

2020-08-13 Thread Sakari Ailus
Hi Kieran,

On Thu, Aug 13, 2020 at 08:01:01PM +0100, Kieran Bingham wrote:
> Hi Randy,
> 
> On 13/08/2020 19:35, Randy Dunlap wrote:
> > On 8/12/20 11:58 PM, Stephen Rothwell wrote:
> >> Hi all,
> >>
> >> News: The merge window has opened, so please do not add any v5.10
> >> related material to your linux-next included branches until after the
> >> merge window closes again.
> >>
> >> Changes since 20200812:
> >>
> > 
> > on x86_64:
> > 
> > # CONFIG_GPIOLIB is not set
> > 
> > ../drivers/media/i2c/max9286.c: In function 'max9286_register_gpio':
> > ../drivers/media/i2c/max9286.c:1033:6: error: 'struct gpio_chip' has no 
> > member named 'of_node'
> >   gpio->of_node = dev->of_node;
> > 
> 
> Thanks for the report, Sakari has already submitted a fix [0] for this.
> I assume it just needs a nudge to get picked up via Mauro's tree.
> 
> [0]
> https://lore.kernel.org/linux-media/20200803090935.23619-1-sakari.ai...@linux.intel.com/

Yes. I'll send a pull request soon.

-- 
Sakari Ailus


Re: linux-next: Tree for Aug 13 (drivers/media/i2c/max9286.c)

2020-08-13 Thread Kieran Bingham
Hi Randy,

On 13/08/2020 19:35, Randy Dunlap wrote:
> On 8/12/20 11:58 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> News: The merge window has opened, so please do not add any v5.10
>> related material to your linux-next included branches until after the
>> merge window closes again.
>>
>> Changes since 20200812:
>>
> 
> on x86_64:
> 
> # CONFIG_GPIOLIB is not set
> 
> ../drivers/media/i2c/max9286.c: In function 'max9286_register_gpio':
> ../drivers/media/i2c/max9286.c:1033:6: error: 'struct gpio_chip' has no 
> member named 'of_node'
>   gpio->of_node = dev->of_node;
> 

Thanks for the report, Sakari has already submitted a fix [0] for this.
I assume it just needs a nudge to get picked up via Mauro's tree.

[0]
https://lore.kernel.org/linux-media/20200803090935.23619-1-sakari.ai...@linux.intel.com/

Thanks
--
Kieran


Re: linux-next: Tree for Aug 13 (drivers/media/i2c/max9286.c)

2020-08-13 Thread Randy Dunlap
On 8/12/20 11:58 PM, Stephen Rothwell wrote:
> Hi all,
> 
> News: The merge window has opened, so please do not add any v5.10
> related material to your linux-next included branches until after the
> merge window closes again.
> 
> Changes since 20200812:
> 

on x86_64:

# CONFIG_GPIOLIB is not set

../drivers/media/i2c/max9286.c: In function 'max9286_register_gpio':
../drivers/media/i2c/max9286.c:1033:6: error: 'struct gpio_chip' has no member 
named 'of_node'
  gpio->of_node = dev->of_node;


-- 
~Randy
Reported-by: Randy Dunlap 


Re: nvme crash - Re: linux-next: Tree for Aug 13

2020-08-13 Thread Christoph Hellwig
On Thu, Aug 13, 2020 at 12:00:19PM +0100, John Garry wrote:
> On 13/08/2020 07:58, Stephen Rothwell wrote:
> > Hi all,
> 
> Hi guys,
> 
> I have experienced this this crash below on linux-next for the last few days
> on my arm64 system. Linus' master branch today also has it.

Adding Robin and the iommu list as this seems to be in the dma-iommu
code.

> root@ubuntu:/home/john# insmod nvme.ko
> [148.254564] nvme :81:00.0: Adding to iommu group 21
> [148.260973] nvme nvme0: pci function :81:00.0
> root@ubuntu:/home/john# [148.272996] Unable to handle kernel NULL pointer
> dereference at virtual address 0010
> [148.281784] Mem abort info:
> [148.284584] ESR = 0x9604
> [148.287641] EC = 0x25: DABT (current EL), IL = 32 bits
> [148.292950] SET = 0, FnV = 0
> [148.295998] EA = 0, S1PTW = 0
> [148.299126] Data abort info:
> [148.302003] ISV = 0, ISS = 0x0004
> [148.305832] CM = 0, WnR = 0
> [148.308794] user pgtable: 4k pages, 48-bit VAs, pgdp=0a27bf3c9000
> [148.315229] [0010] pgd=, p4d=
> [148.322016] Internal error: Oops: 9604 [#1] PREEMPT SMP
> [148.327577] Modules linked in: nvme nvme_core
> [148.331927] CPU: 56 PID: 256 Comm: kworker/u195:0 Not tainted
> 5.8.0-next-20200812 #27
> [148.339744] Hardware name: Huawei D06 /D06, BIOS Hisilicon D06 UEFI RC0 -
> V1.16.01 03/15/2019
> [148.348260] Workqueue: nvme-reset-wq nvme_reset_work [nvme]
> [148.353822] pstate: 80c9 (Nzcv daif +PAN +UAO BTYPE=--)
> [148.359390] pc : __sg_alloc_table_from_pages+0xec/0x238
> [148.364604] lr : __sg_alloc_table_from_pages+0xc8/0x238
> [148.369815] sp : 800013ccbad0
> [148.373116] x29: 800013ccbad0 x28: 0a27b3d380a8
> [148.378417] x27:  x26: 2dc2
> [148.383718] x25: 0dc0 x24: 
> [148.389019] x23:  x22: 800013ccbbe8
> [148.394320] x21: 0010 x20: 
> [148.399621] x19: f000 x18: 
> [148.404922] x17: 00c0 x16: fe289eaf6380
> [148.410223] x15: 800011b59948 x14: 002bc8fe98f8
> [148.415523] x13: ff00 x12: 8000114ca000
> [148.420824] x11:  x10: 
> [148.426124] x9 : ffc0 x8 : 0a27b5f9b6a0
> [148.431425] x7 :  x6 : 0001
> [148.436726] x5 : 0a27b5f9b680 x4 : 
> [148.442027] x3 : 0a27b5f9b680 x2 : 
> [148.447328] x1 : 0001 x0 : 
> [148.452629] Call trace:
> [148.455065]__sg_alloc_table_from_pages+0xec/0x238
> [148.459931]sg_alloc_table_from_pages+0x18/0x28
> [148.464541]iommu_dma_alloc+0x474/0x678
> [148.468455]dma_alloc_attrs+0xd8/0xf0
> [148.472193]nvme_alloc_queue+0x114/0x160 [nvme]
> [148.476798]nvme_reset_work+0xb34/0x14b4 [nvme]
> [148.481407]process_one_work+0x1e8/0x360
> [148.485405]worker_thread+0x44/0x478
> [148.489055]kthread+0x150/0x158
> [148.492273]ret_from_fork+0x10/0x34
> [148.495838] Code: f94002c3 6b01017f 540007c2 11000486 (f8645aa5)
> [148.501921] ---[ end trace 89bb2b72d59bf925 ]---
> 
> Anything to worry about? I guess not since we're in the merge window, but
> mentioning just in case ...
> 
> Thanks,
> john
> 
> > 
> > News: The merge window has opened, so please do not add any v5.10
> > related material to your linux-next included branches until after the
> > merge window closes again.
> > 
> > Changes since 20200812:
> > 
> > My fixes tree contains:
> > 
> >73c7adb54169 ("device_cgroup: Fix RCU list debugging warning")
> > 
> > Linus' tree produces a WARNING in my qemu testing (see
> > https://lore.kernel.org/lkml/20200813164654.061db...@canb.auug.org.au/).
> > 
> > Non-merge commits (relative to Linus' tree): 946
> >   1083 files changed, 28405 insertions(+), 9953 deletions(-)
> > 
> > 
> > 
> > I have created today's linux-next tree at
> > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
> > (patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
> > are tracking the linux-next tree using git, you should not use "git pull"
> > to do so as that will try to merge the new linux-next release with the
> > old one.  You should use "git fetch" and checkout or reset to the new
> > master.
> > 
> > You can see which trees have been included by looking in the Next/Trees
> > file in the source.  There are also quilt-import.log and merge.log
> > files in the Next directory.  Between each merge, the tree was built
> > with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
> > multi_v7_defconfig for arm and a native build of tools/perf. After
> > the final fixups (if any), I do an x86_64 modules_install followed by
> > builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
> > ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
> > and sparc64 defconfig and htmldocs. And 

nvme crash - Re: linux-next: Tree for Aug 13

2020-08-13 Thread John Garry

On 13/08/2020 07:58, Stephen Rothwell wrote:

Hi all,


Hi guys,

I have experienced this this crash below on linux-next for the last few 
days on my arm64 system. Linus' master branch today also has it.


root@ubuntu:/home/john# insmod nvme.ko
[148.254564] nvme :81:00.0: Adding to iommu group 21
[148.260973] nvme nvme0: pci function :81:00.0
root@ubuntu:/home/john# [148.272996] Unable to handle kernel NULL 
pointer dereference at virtual address 0010

[148.281784] Mem abort info:
[148.284584] ESR = 0x9604
[148.287641] EC = 0x25: DABT (current EL), IL = 32 bits
[148.292950] SET = 0, FnV = 0
[148.295998] EA = 0, S1PTW = 0
[148.299126] Data abort info:
[148.302003] ISV = 0, ISS = 0x0004
[148.305832] CM = 0, WnR = 0
[148.308794] user pgtable: 4k pages, 48-bit VAs, pgdp=0a27bf3c9000
[148.315229] [0010] pgd=, p4d=
[148.322016] Internal error: Oops: 9604 [#1] PREEMPT SMP
[148.327577] Modules linked in: nvme nvme_core
[148.331927] CPU: 56 PID: 256 Comm: kworker/u195:0 Not tainted 
5.8.0-next-20200812 #27
[148.339744] Hardware name: Huawei D06 /D06, BIOS Hisilicon D06 UEFI RC0 
- V1.16.01 03/15/2019

[148.348260] Workqueue: nvme-reset-wq nvme_reset_work [nvme]
[148.353822] pstate: 80c9 (Nzcv daif +PAN +UAO BTYPE=--)
[148.359390] pc : __sg_alloc_table_from_pages+0xec/0x238
[148.364604] lr : __sg_alloc_table_from_pages+0xc8/0x238
[148.369815] sp : 800013ccbad0
[148.373116] x29: 800013ccbad0 x28: 0a27b3d380a8
[148.378417] x27:  x26: 2dc2
[148.383718] x25: 0dc0 x24: 
[148.389019] x23:  x22: 800013ccbbe8
[148.394320] x21: 0010 x20: 
[148.399621] x19: f000 x18: 
[148.404922] x17: 00c0 x16: fe289eaf6380
[148.410223] x15: 800011b59948 x14: 002bc8fe98f8
[148.415523] x13: ff00 x12: 8000114ca000
[148.420824] x11:  x10: 
[148.426124] x9 : ffc0 x8 : 0a27b5f9b6a0
[148.431425] x7 :  x6 : 0001
[148.436726] x5 : 0a27b5f9b680 x4 : 
[148.442027] x3 : 0a27b5f9b680 x2 : 
[148.447328] x1 : 0001 x0 : 
[148.452629] Call trace:
[148.455065]__sg_alloc_table_from_pages+0xec/0x238
[148.459931]sg_alloc_table_from_pages+0x18/0x28
[148.464541]iommu_dma_alloc+0x474/0x678
[148.468455]dma_alloc_attrs+0xd8/0xf0
[148.472193]nvme_alloc_queue+0x114/0x160 [nvme]
[148.476798]nvme_reset_work+0xb34/0x14b4 [nvme]
[148.481407]process_one_work+0x1e8/0x360
[148.485405]worker_thread+0x44/0x478
[148.489055]kthread+0x150/0x158
[148.492273]ret_from_fork+0x10/0x34
[148.495838] Code: f94002c3 6b01017f 540007c2 11000486 (f8645aa5)
[148.501921] ---[ end trace 89bb2b72d59bf925 ]---

Anything to worry about? I guess not since we're in the merge window, 
but mentioning just in case ...


Thanks,
john



News: The merge window has opened, so please do not add any v5.10
related material to your linux-next included branches until after the
merge window closes again.

Changes since 20200812:

My fixes tree contains:

   73c7adb54169 ("device_cgroup: Fix RCU list debugging warning")

Linus' tree produces a WARNING in my qemu testing (see
https://lore.kernel.org/lkml/20200813164654.061db...@canb.auug.org.au/).

Non-merge commits (relative to Linus' tree): 946
  1083 files changed, 28405 insertions(+), 9953 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig and htmldocs. And finally, a simple boot test
of the powerpc pseries_le_defconfig kernel in qemu (with and without
kvm enabled).

Below is a summary of the state of the merge.

I am currently merging 327 trees (counting Linus' and 85 trees of bug
fix patches pending for the current merge release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build 

linux-next: Tree for Aug 13

2020-08-13 Thread Stephen Rothwell
Hi all,

News: The merge window has opened, so please do not add any v5.10
related material to your linux-next included branches until after the
merge window closes again.

Changes since 20200812:

My fixes tree contains:

  73c7adb54169 ("device_cgroup: Fix RCU list debugging warning")

Linus' tree produces a WARNING in my qemu testing (see
https://lore.kernel.org/lkml/20200813164654.061db...@canb.auug.org.au/).

Non-merge commits (relative to Linus' tree): 946
 1083 files changed, 28405 insertions(+), 9953 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig and htmldocs. And finally, a simple boot test
of the powerpc pseries_le_defconfig kernel in qemu (with and without
kvm enabled).

Below is a summary of the state of the merge.

I am currently merging 327 trees (counting Linus' and 85 trees of bug
fix patches pending for the current merge release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwell

$ git checkout master
$ git reset --hard stable
Merging origin/master (7c2a69f610e6 Merge tag 'ceph-for-5.9-rc1' of 
git://github.com/ceph/ceph-client)
Merging fixes/master (73c7adb54169 device_cgroup: Fix RCU list debugging 
warning)
Merging kbuild-current/fixes (06a81c1c7db9 Merge tag 'arm64-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux)
Merging arc-current/for-curr (11ba468877bb Linux 5.8-rc5)
Merging arm-current/fixes (5c6360ee4a0e ARM: 8988/1: mmu: fix crash in EFI 
calls due to p4d typo in create_mapping_late())
Merging arm64-fixes/for-next/fixes (6a7389f0312f MAINTAINERS: Include drivers 
subdirs for ARM PMU PROFILING AND DEBUGGING entry)
Merging arm-soc-fixes/arm/fixes (fe1d899f4212 ARM: dts: keystone-k2g-evm: fix 
rgmii phy-mode for ksz9031 phy)
Merging uniphier-fixes/fixes (48778464bb7d Linux 5.8-rc2)
Merging drivers-memory-fixes/fixes (b3a9e3b9622a Linux 5.8-rc1)
Merging m68k-current/for-linus (382f429bb559 m68k: defconfig: Update defconfigs 
for v5.8-rc3)
Merging powerpc-fixes/fixes (6553fb799f60 powerpc/pkeys: Fix boot failures with 
Nemo board (A-EON AmigaOne X1000))
Merging s390-fixes/fixes (00e4db51259a Merge tag 'perf-tools-2020-08-10' of 
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux)
Merging sparc/master (0a95a6d1a4cd sparc: use for_each_child_of_node() macro)
Merging fscrypt-current/for-stable (2b4eae95c736 fscrypt: don't evict dirty 
inodes after removing key)
Merging net/master (9643609423c7 Revert "ipv4: tunnel: fix compilation on 
ARCH=um")
Merging bpf/master (da7bdfdd23b8 selftests/bpf: Fix v4_to_v6 in sk_lookup)
Merging ipsec/master (61ee4137b574 ip_vti: Fix unused variable warning)
Merging netfilter/master (2f941622fd88 netfilter: nft_compat: remove flush 
counter optimization)
Merging ipvs/master (7c7ab580db49 net: Convert to use the fallthrough macro)
Merging wireless-drivers/master (1cfd3426ef98 ath10k: Fix NULL pointer 
dereference in AHB device probe)
Merging mac80211/master (ac3a0c847296 Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net)
Merging rdma-fixes/for-rc (bcf876870b95 Linux 5.8)
Merging sound-current/for-linus (d96f27c80b65 ALSA: hda/hdmi: Use force 
connectivity quirk on another HP desktop)
Merging sound-asoc-fixes/for-linus (933cc41085d5 Merge remote-tracking branch 
'asoc/for-5.9' into asoc-linus)
Merging regmap-fixes/for-linus (2b0f61e27f75 Merge remote-tracking branch 
'regmap/for-5.8' into regmap-linus)
Merging regulator-fixes/for-linus (75f4d068cb0d Merge remote-tracking branch 
'regulator/for-5.9' into regulator-linus)
Merging spi-fixes/for-linus (3ea884314328 Merge remote-tracking branch 
'spi/for-5.9' into spi-linus)
Merging 

Re: linux-next: Tree for Aug 13

2019-08-14 Thread Stephen Rothwell
Hi all,

On Wed, 14 Aug 2019 08:14:18 +0200 Marek Szyprowski  
wrote:
>
> On 2019-08-13 16:56, Steven Rostedt wrote:
> > This looks related to what Marek posted.
> >
> >
> > https://lore.kernel.org/linux-security-module/3028ed35-3b6d-459f-f3c8-103c5636f...@samsung.com/
> >
> > Care to apply the change he suggested to see if it fixes the issue for
> > you. If it does, Marek, can you make an official patch?  
> 
> Sure: https://lkml.org/lkml/2019/8/14/75

I have applied that to linux-next today.

-- 
Cheers,
Stephen Rothwell


pgpW_TGg2bE9g.pgp
Description: OpenPGP digital signature


Re: linux-next: Tree for Aug 13

2019-08-14 Thread Marek Szyprowski
Hi Steven,

On 2019-08-13 16:56, Steven Rostedt wrote:
> This looks related to what Marek posted.
>
>
> https://lore.kernel.org/linux-security-module/3028ed35-3b6d-459f-f3c8-103c5636f...@samsung.com/
>
> Care to apply the change he suggested to see if it fixes the issue for
> you. If it does, Marek, can you make an official patch?

Sure: https://lkml.org/lkml/2019/8/14/75

Best regards
-- 
Marek Szyprowski, PhD
Samsung R Institute Poland



Re: linux-next: Tree for Aug 13

2019-08-13 Thread Vasily Gorbik
On Tue, Aug 13, 2019 at 10:56:45AM -0400, Steven Rostedt wrote:
> 
> This looks related to what Marek posted.
> 
>   
> https://lore.kernel.org/linux-security-module/3028ed35-3b6d-459f-f3c8-103c5636f...@samsung.com/
> 
> Care to apply the change he suggested to see if it fixes the issue for
> you. If it does, Marek, can you make an official patch?
> 
> -- Steve

Right, same issue - same fix. Oh well, at least I got a bit more
familiar with the code.

--
⢋⡀⣀⠹
⠠⣶⡦⠀
⣿⣿⣿⠏⣴⣮⣴⣧⠈⢿⣿⣿
⣿⣿⡏⢰⣿⠖⣠⣿⡆⠈⣿⣿
⣿⢛⣵⣄⠙⣶⣶⡟⣅⣠⠹⣿
⣿⣜⣛⠻⢎⣉⣉⣀⠿⣫⣵⣿



Re: linux-next: Tree for Aug 13

2019-08-13 Thread Vasily Gorbik
On Tue, Aug 13, 2019 at 02:41:55PM +0200, Vasily Gorbik wrote:
> On Tue, Aug 13, 2019 at 07:19:24PM +1000, Stephen Rothwell wrote:
> > Merging security/next-testing (a4848e06f9af Merge branch 'next-lockdown' 
> > into next-testing)
> > CONFLICT (content): Merge conflict in kernel/trace/trace_kprobe.c
> > CONFLICT (content): Merge conflict in fs/tracefs/inode.c
> > Applying: early_security_init() needs a stub got !CONFIG_SECURITY
> 
> Hi all,
> 
> next-lockdown causes panic on s390 when doing:
> cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/id
> 
> [ 3972.384027] Unable to handle kernel pointer dereference in virtual kernel 
> address space
> [ 3972.384031] Failing address:  TEID: 0887
> [ 3972.384032] Fault in home space mode while using kernel ASCE.
> [ 3972.384033] AS:744cc007 R3:0001fffd0007 S:0001fffd6000 
> P:013d 
> [ 3972.384051] Oops: 0004 ilc:1 [#1] SMP 
> [ 3972.384053] Modules linked in: binfmt_misc(E) dm_crypt(E) lcs(E) ctcm(E) 
> fsm(E) algif_skcipher(E) af_alg(E) nfsv3(E) nfs_acl(E) nfs(E) lockd(E) 
> grace(E) sctp(E) quota_v2(E) quota_tree(E) ntfs(E) vfat(E) fat(E) overlay(E) 
> loop(E) dm_service_time(E) kvm(E) xt_CHECKSUM(E) xt_MASQUERADE(E) 
> xt_tcpudp(E) ip6t_rpfilter(E) ip6t_REJECT(E) nf_reject_ipv6(E) ipt_REJECT(E) 
> nf_reject_ipv4(E) xt_conntrack(E) ip6table_nat(E) ip6table_mangle(E) 
> ip6table_raw(E) tun(E) ip6table_security(E) bridge(E) iptable_nat(E) 
> nf_nat(E) stp(E) llc(E) iptable_mangle(E) iptable_raw(E) iptable_security(E) 
> nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) ip_set(E) nfnetlink(E) 
> ip6table_filter(E) ip6_tables(E) iptable_filter(E) ip_tables(E) x_tables(E) 
> sunrpc(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E) scsi_dh_emc(E) 
> scsi_dh_alua(E) s390_trng(E) ghash_s390(E) prng(E) aes_s390(E) des_s390(E) 
> des_generic(E) sha512_s390(E) sha1_s390(E) vfio_ccw(E) vfio_mdev(E) mdev(E) 
> vfio_iommu_type1(E) vfio(E) eadm_sch(E) sch_fq_codel(E)
> [ 3972.384076]  sha256_s390(E) sha_common(E) pkey(E) zcrypt(E) rng_core(E) 
> autofs4(E) [last unloaded: dummy_del_mod]
> [ 3972.384084] CPU: 17 PID: 45118 Comm: psvc-ioctl-bpf1 Tainted: G   
> OE 5.3.0-20190813.rc4.git0.8e72ac275c63.301.fc30.s390x+next #1
> [ 3972.384086] Hardware name: IBM 3906 M04 704 (LPAR)
> [ 3972.384087] Krnl PSW : 0704c0018000  (0x0)
> [ 3972.384090]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 
> RI:0 EA:3
> [ 3972.384103] Krnl GPRS: 03e004c0fb90  0001f912abf0 
> 000197b36800
> [ 3972.384104]000197b36810 0001 0001 
> 000197b36810
> [ 3972.384105]736ae3a0 0001 0001f912abf0 
> 000197b36800
> [ 3972.384106]00013aff 73c625a8 734a1486 
> 03e004c0fbc8
> [ 3972.384110] Krnl Code:>: illegal 
>   0002: illegal 
>   0004: illegal 
>   0006: illegal 
>   0008: illegal 
>   000a: illegal 
>   000c: illegal 
>   000e: illegal 
> [ 3972.384116] Call Trace:
> [ 3972.384122] ([<734a1486>] do_dentry_open+0x206/0x3c0)
> [ 3972.384125]  [<734b8c1e>] do_last+0x16e/0x918 
> [ 3972.384126]  [<734b944e>] path_openat+0x86/0x2b8 
> [ 3972.384128]  [<734baa64>] do_filp_open+0x7c/0xf8 
> [ 3972.384129]  [<734a3484>] do_sys_open+0x18c/0x258 
> [ 3972.384134]  [<73c457cc>] system_call+0xd8/0x2c8 
> [ 3972.384135] Last Breaking-Event-Address:
> [ 3972.384139]  [<736ae3fa>] default_open_file+0x5a/0x78
> [ 3972.384141] Kernel panic - not syncing: Fatal exception: panic_on_oops
> 
> Which correspond to:
> fs/tracefs/inode.c:46
> static int default_open_file(struct inode *inode, struct file *filp)
>  45 real_fops = dentry->d_fsdata;
>  46 return real_fops->open(inode, filp);
> 
> Commit which introduces the problem:
> commit 757ff7244358406dd16a7f5f623ca40ed27c603c
> Author: Matthew Garrett 
> AuthorDate: Wed Aug 7 17:07:19 2019 -0700
> Commit: James Morris 
> CommitDate: Fri Aug 9 22:23:58 2019 -0700
> 
> tracefs: Restrict tracefs when the kernel is locked down
> 
> Tracefs may release more information about the kernel than desirable, so
> restrict it when the kernel is locked down in confidentiality mode by
> preventing open().
> 
> Signed-off-by: Matthew Garrett 
> Reviewed-by: Steven Rostedt (VMware) 
> Signed-off-by: James Morris 
> ---
>  fs/tracefs/inode.c   | 40 +++-
>  

Re: linux-next: Tree for Aug 13

2019-08-13 Thread Steven Rostedt


This looks related to what Marek posted.

  
https://lore.kernel.org/linux-security-module/3028ed35-3b6d-459f-f3c8-103c5636f...@samsung.com/

Care to apply the change he suggested to see if it fixes the issue for
you. If it does, Marek, can you make an official patch?

-- Steve


On Tue, 13 Aug 2019 14:41:55 +0200
Vasily Gorbik  wrote:

> On Tue, Aug 13, 2019 at 07:19:24PM +1000, Stephen Rothwell wrote:
> > Merging security/next-testing (a4848e06f9af Merge branch 'next-lockdown' 
> > into next-testing)
> > CONFLICT (content): Merge conflict in kernel/trace/trace_kprobe.c
> > CONFLICT (content): Merge conflict in fs/tracefs/inode.c
> > Applying: early_security_init() needs a stub got !CONFIG_SECURITY  
> 
> Hi all,
> 
> next-lockdown causes panic on s390 when doing:
> cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/id
> 
> [ 3972.384027] Unable to handle kernel pointer dereference in virtual kernel 
> address space
> [ 3972.384031] Failing address:  TEID: 0887
> [ 3972.384032] Fault in home space mode while using kernel ASCE.
> [ 3972.384033] AS:744cc007 R3:0001fffd0007 S:0001fffd6000 
> P:013d 
> [ 3972.384051] Oops: 0004 ilc:1 [#1] SMP 
> [ 3972.384053] Modules linked in: binfmt_misc(E) dm_crypt(E) lcs(E) ctcm(E) 
> fsm(E) algif_skcipher(E) af_alg(E) nfsv3(E) nfs_acl(E) nfs(E) lockd(E) 
> grace(E) sctp(E) quota_v2(E) quota_tree(E) ntfs(E) vfat(E) fat(E) overlay(E) 
> loop(E) dm_service_time(E) kvm(E) xt_CHECKSUM(E) xt_MASQUERADE(E) 
> xt_tcpudp(E) ip6t_rpfilter(E) ip6t_REJECT(E) nf_reject_ipv6(E) ipt_REJECT(E) 
> nf_reject_ipv4(E) xt_conntrack(E) ip6table_nat(E) ip6table_mangle(E) 
> ip6table_raw(E) tun(E) ip6table_security(E) bridge(E) iptable_nat(E) 
> nf_nat(E) stp(E) llc(E) iptable_mangle(E) iptable_raw(E) iptable_security(E) 
> nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) ip_set(E) nfnetlink(E) 
> ip6table_filter(E) ip6_tables(E) iptable_filter(E) ip_tables(E) x_tables(E) 
> sunrpc(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E) scsi_dh_emc(E) 
> scsi_dh_alua(E) s390_trng(E) ghash_s390(E) prng(E) aes_s390(E) des_s390(E) 
> des_generic(E) sha512_s390(E) sha1_s390(E) vfio_ccw(E) vfio_mdev(E) mdev(E) 
> vfio_iommu_type1(E) vfio(E) eadm_sch(E) sch_f
 q_codel(E)
> [ 3972.384076]  sha256_s390(E) sha_common(E) pkey(E) zcrypt(E) rng_core(E) 
> autofs4(E) [last unloaded: dummy_del_mod]
> [ 3972.384084] CPU: 17 PID: 45118 Comm: psvc-ioctl-bpf1 Tainted: G   
> OE 5.3.0-20190813.rc4.git0.8e72ac275c63.301.fc30.s390x+next #1
> [ 3972.384086] Hardware name: IBM 3906 M04 704 (LPAR)
> [ 3972.384087] Krnl PSW : 0704c0018000  (0x0)
> [ 3972.384090]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 
> RI:0 EA:3
> [ 3972.384103] Krnl GPRS: 03e004c0fb90  0001f912abf0 
> 000197b36800
> [ 3972.384104]000197b36810 0001 0001 
> 000197b36810
> [ 3972.384105]736ae3a0 0001 0001f912abf0 
> 000197b36800
> [ 3972.384106]00013aff 73c625a8 734a1486 
> 03e004c0fbc8
> [ 3972.384110] Krnl Code:>: illegal 
>   0002: illegal 
>   0004: illegal 
>   0006: illegal 
>   0008: illegal 
>   000a: illegal 
>   000c: illegal 
>   000e: illegal 
> [ 3972.384116] Call Trace:
> [ 3972.384122] ([<734a1486>] do_dentry_open+0x206/0x3c0)
> [ 3972.384125]  [<734b8c1e>] do_last+0x16e/0x918 
> [ 3972.384126]  [<734b944e>] path_openat+0x86/0x2b8 
> [ 3972.384128]  [<734baa64>] do_filp_open+0x7c/0xf8 
> [ 3972.384129]  [<734a3484>] do_sys_open+0x18c/0x258 
> [ 3972.384134]  [<73c457cc>] system_call+0xd8/0x2c8 
> [ 3972.384135] Last Breaking-Event-Address:
> [ 3972.384139]  [<736ae3fa>] default_open_file+0x5a/0x78
> [ 3972.384141] Kernel panic - not syncing: Fatal exception: panic_on_oops
> 
> Which correspond to:
> fs/tracefs/inode.c:46
> static int default_open_file(struct inode *inode, struct file *filp)
>  45 real_fops = dentry->d_fsdata;
>  46 return real_fops->open(inode, filp);
> 
> Commit which introduces the problem:
> commit 757ff7244358406dd16a7f5f623ca40ed27c603c
> Author: Matthew Garrett 
> AuthorDate: Wed Aug 7 17:07:19 2019 -0700
> Commit: James Morris 
> CommitDate: Fri Aug 9 22:23:58 2019 -0700
> 
> tracefs: Restrict tracefs when the kernel is locked down
> 
> Tracefs may release more information about the kernel than desirable, so
> restrict it when the kernel 

Re: linux-next: Tree for Aug 13

2019-08-13 Thread Vasily Gorbik
On Tue, Aug 13, 2019 at 07:19:24PM +1000, Stephen Rothwell wrote:
> Merging security/next-testing (a4848e06f9af Merge branch 'next-lockdown' into 
> next-testing)
> CONFLICT (content): Merge conflict in kernel/trace/trace_kprobe.c
> CONFLICT (content): Merge conflict in fs/tracefs/inode.c
> Applying: early_security_init() needs a stub got !CONFIG_SECURITY

Hi all,

next-lockdown causes panic on s390 when doing:
cat /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/id

[ 3972.384027] Unable to handle kernel pointer dereference in virtual kernel 
address space
[ 3972.384031] Failing address:  TEID: 0887
[ 3972.384032] Fault in home space mode while using kernel ASCE.
[ 3972.384033] AS:744cc007 R3:0001fffd0007 S:0001fffd6000 
P:013d 
[ 3972.384051] Oops: 0004 ilc:1 [#1] SMP 
[ 3972.384053] Modules linked in: binfmt_misc(E) dm_crypt(E) lcs(E) ctcm(E) 
fsm(E) algif_skcipher(E) af_alg(E) nfsv3(E) nfs_acl(E) nfs(E) lockd(E) grace(E) 
sctp(E) quota_v2(E) quota_tree(E) ntfs(E) vfat(E) fat(E) overlay(E) loop(E) 
dm_service_time(E) kvm(E) xt_CHECKSUM(E) xt_MASQUERADE(E) xt_tcpudp(E) 
ip6t_rpfilter(E) ip6t_REJECT(E) nf_reject_ipv6(E) ipt_REJECT(E) 
nf_reject_ipv4(E) xt_conntrack(E) ip6table_nat(E) ip6table_mangle(E) 
ip6table_raw(E) tun(E) ip6table_security(E) bridge(E) iptable_nat(E) nf_nat(E) 
stp(E) llc(E) iptable_mangle(E) iptable_raw(E) iptable_security(E) 
nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) ip_set(E) nfnetlink(E) 
ip6table_filter(E) ip6_tables(E) iptable_filter(E) ip_tables(E) x_tables(E) 
sunrpc(E) dm_multipath(E) dm_mod(E) scsi_dh_rdac(E) scsi_dh_emc(E) 
scsi_dh_alua(E) s390_trng(E) ghash_s390(E) prng(E) aes_s390(E) des_s390(E) 
des_generic(E) sha512_s390(E) sha1_s390(E) vfio_ccw(E) vfio_mdev(E) mdev(E) 
vfio_iommu_type1(E) vfio(E) eadm_sch(E) sch_fq_codel(E)
[ 3972.384076]  sha256_s390(E) sha_common(E) pkey(E) zcrypt(E) rng_core(E) 
autofs4(E) [last unloaded: dummy_del_mod]
[ 3972.384084] CPU: 17 PID: 45118 Comm: psvc-ioctl-bpf1 Tainted: G   OE 
5.3.0-20190813.rc4.git0.8e72ac275c63.301.fc30.s390x+next #1
[ 3972.384086] Hardware name: IBM 3906 M04 704 (LPAR)
[ 3972.384087] Krnl PSW : 0704c0018000  (0x0)
[ 3972.384090]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:3 CC:0 PM:0 
RI:0 EA:3
[ 3972.384103] Krnl GPRS: 03e004c0fb90  0001f912abf0 
000197b36800
[ 3972.384104]000197b36810 0001 0001 
000197b36810
[ 3972.384105]736ae3a0 0001 0001f912abf0 
000197b36800
[ 3972.384106]00013aff 73c625a8 734a1486 
03e004c0fbc8
[ 3972.384110] Krnl Code:>: illegal 
  0002: illegal 
  0004: illegal 
  0006: illegal 
  0008: illegal 
  000a: illegal 
  000c: illegal 
  000e: illegal 
[ 3972.384116] Call Trace:
[ 3972.384122] ([<734a1486>] do_dentry_open+0x206/0x3c0)
[ 3972.384125]  [<734b8c1e>] do_last+0x16e/0x918 
[ 3972.384126]  [<734b944e>] path_openat+0x86/0x2b8 
[ 3972.384128]  [<734baa64>] do_filp_open+0x7c/0xf8 
[ 3972.384129]  [<734a3484>] do_sys_open+0x18c/0x258 
[ 3972.384134]  [<73c457cc>] system_call+0xd8/0x2c8 
[ 3972.384135] Last Breaking-Event-Address:
[ 3972.384139]  [<736ae3fa>] default_open_file+0x5a/0x78
[ 3972.384141] Kernel panic - not syncing: Fatal exception: panic_on_oops

Which correspond to:
fs/tracefs/inode.c:46
static int default_open_file(struct inode *inode, struct file *filp)
 45 real_fops = dentry->d_fsdata;
 46 return real_fops->open(inode, filp);

Commit which introduces the problem:
commit 757ff7244358406dd16a7f5f623ca40ed27c603c
Author: Matthew Garrett 
AuthorDate: Wed Aug 7 17:07:19 2019 -0700
Commit: James Morris 
CommitDate: Fri Aug 9 22:23:58 2019 -0700

tracefs: Restrict tracefs when the kernel is locked down

Tracefs may release more information about the kernel than desirable, so
restrict it when the kernel is locked down in confidentiality mode by
preventing open().

Signed-off-by: Matthew Garrett 
Reviewed-by: Steven Rostedt (VMware) 
Signed-off-by: James Morris 
---
 fs/tracefs/inode.c   | 40 +++-
 include/linux/security.h |  1 +
 security/lockdown/lockdown.c |  1 +
 3 files changed, 41 insertions(+), 1 deletion(-)

Using default s390 config, where
# CONFIG_SECURITY_LOCKDOWN_LSM is not set

-- 
⢋⡀⣀⠹
⠠⣶⡦⠀
⣿⣿⣿⠏⣴⣮⣴⣧⠈⢿⣿⣿

linux-next: Tree for Aug 13

2019-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20190812:

New tree: spdx

The risc-v tree gained a conflict against the arm64 tree.

The crypto tree still had its build failure for which I disabled a driver
feature.

The amdgpu tree gained a build failure for which I applied a patch.

The sound-asoc tree still had its build failure so I used the version
from next-20190808.

The security tree still had its build failure for which I added a patch.

The rcu tree still had a build failure so I applied a patch and gained
another for which I reverted a commit.

The driver-core tree gained a conflict against the rcu tree.

Non-merge commits (relative to Linus' tree): 5470
 5811 files changed, 307204 insertions(+), 140418 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig. And finally, a simple boot test of the powerpc
pseries_le_defconfig kernel in qemu (with and without kvm enabled).

Below is a summary of the state of the merge.

I am currently merging 305 trees (counting Linus' and 75 trees of bug
fix patches pending for the current merge release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwell

$ git checkout master
$ git reset --hard stable
Merging origin/master (d45331b00ddb Linux 5.3-rc4)
Merging fixes/master (609488bc979f Linux 5.3-rc2)
Merging kbuild-current/fixes (451577f3e3a9 Merge tag 'kbuild-fixes-v5.3-3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild)
Merging arc-current/for-curr (e86d94fdda8e ARC: unwind: Mark expected switch 
fall-throughs)
Merging arm-current/fixes (c5d0e49e8d8f ARM: 8867/1: vdso: pass --be8 to linker 
if necessary)
Merging arm-soc-fixes/arm/fixes (7bd9d465140a Merge tag 'imx-fixes-5.3' of 
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes)
Merging arm64-fixes/for-next/fixes (30e235389faa arm64: mm: add missing 
PTE_SPECIAL in pte_mkdevmap on arm64)
Merging m68k-current/for-linus (f28a1f16135c m68k: Don't select 
ARCH_HAS_DMA_PREP_COHERENT for nommu or coldfire)
Merging powerpc-fixes/fixes (b9ee5e04fd77 powerpc/64e: Drop stale call to 
smp_processor_id() which hangs SMP startup)
Merging s390-fixes/fixes (d45331b00ddb Linux 5.3-rc4)
Merging sparc/master (038029c03e21 sparc: remove unneeded uapi/asm/statfs.h)
Merging fscrypt-current/for-stable (ae64f9bd1d36 Linux 4.15-rc2)
Merging net/master (bb0ce4c1517d net: phy: at803x: stop switching phy delay 
config needlessly)
Merging bpf/master (bb2d267c448f s390/bpf: fix lcgr instruction encoding)
Merging ipsec/master (22d6552f827e xfrm interface: fix management of phydev)
Merging netfilter/master (589b474a4b7c netfilter: nf_flow_table: fix offload 
for flows that are subject to xfrm)
Merging ipvs/master (58e8b37069ff Merge branch 'net-phy-dp83867-add-some-fixes')
Merging wireless-drivers/master (1f6607250331 iwlwifi: dbg_ini: fix compile 
time assert build errors)
Merging mac80211/master (d8a1de3d5bb8 isdn: hfcsusb: Fix mISDN driver crash 
caused by transfer buffer on the stack)
Merging rdma-fixes/for-rc (e7e6c6320c8c IB/mlx5: Check the correct variable in 
error handling code)
Merging sound-current/for-linus (cfef67f016e4 ALSA: hda - Fix a memory leak bug)
Merging sound-asoc-fixes/for-linus (02f32321cbee Merge branch 'asoc-5.3' into 
asoc-linus)
Merging regmap-fixes/for-linus (0161b8716465 Merge branch 'regmap-5.3' into 
regmap-linus)
Merging regulator-fixes/for-linus (e16053d97bdc Merge branch 'regulator-5.3' 
into regulator-linus)
Merging spi-fixes/for-linus (ec010644e3b7 Merge branch 'spi-5.3' into spi-linus)
Merging pci-current/for-linus (5f9e832c1370 Linus 5.3-rc1)
Merging driver-core.current/driver-core-linus (d45331b00ddb 

Re: linux-next: Tree for Aug 13

2018-08-13 Thread Guenter Roeck
On Mon, Aug 13, 2018 at 07:32:01PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20180810:
> 
> The ida tree lost its build failure.
> 
> The akpm-current tree gained conflicts against the block tree and a
> build failure due to an interaction with the userns tree for which I
> applied a merge fix patch.
> 
> Non-merge commits (relative to Linus' tree): 11957
>  10727 files changed, 510277 insertions(+), 209635 deletions(-)
> 
> 
> 

Complete report, given this is probably the base of v4.19-rc1.

Guenter

---

Build results:
total: 134 pass: 127 fail: 7
Failed builds: 
m68k:allmodconfig 
powerpc:ppc6xx_defconfig
s390:allmodconfig 
sparc32:allmodconfig 
unicore32:defconfig 
unicore32:allnoconfig 
xtensa:allmodconfig 
Qemu test results:
total: 297 pass: 297 fail: 0

---
m68k:allmodconfig, powerpc:ppc6xx_defconfig, xtensa:allmodconfig:

drivers/net/virtio_net.c: In function 'virtnet_set_affinity':
drivers/net/virtio_net.c:1916:10: error: implicit declaration of function 
'cpumask_next_wrap'

s390:allmodconfig:

drivers/net/ethernet/microchip/lan743x_ethtool.c:
In function 'lan743x_ethtool_get_ts_info':
drivers/net/ethernet/microchip/lan743x_ethtool.c:558:19: error:
'struct lan743x_ptp' has no member named 'ptp_clock'`

[multiple instances in several files]

---
sparc32:allmodconfig:

arch/sparc/kernel/head_32.o: In function `current_pc':
arch/sparc/kernel/.tmp_head_32.o:(.head.text+0x5040): relocation truncated to 
fit: R_SPARC_WDISP22 against `.init.text'
arch/sparc/kernel/head_32.o: In function `halt_notsup':
arch/sparc/kernel/.tmp_head_32.o:(.head.text+0x5100): relocation truncated to 
fit: R_SPARC_WDISP22 against `.init.text'
arch/sparc/kernel/head_32.o: In function `leon_init':
arch/sparc/kernel/.tmp_head_32.o:(.init.text+0xa4): relocation truncated to 
fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text 
section
in arch/sparc/kernel/trampoline_32.o
arch/sparc/kernel/process_32.o:(.fixup+0x4): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/process_32.o:(.fixup+0xc): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x0): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x8): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x10): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x18): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x20): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x28): additional relocation overflows 
omitted from the output

---
unicore32:defconfig, unicore32:allnoconfig:

In file included from include/linux/mm.h:17,
 from arch/unicore32/kernel/asm-offsets.c:17:
linux/mm_types.h:500: error: flexible array member in otherwise empty struct

[maybe due to gcc version 4.4.2, more recent toolchain not available]

==

Runtime warnings:

arm:smdkc210:exynos_defconfig:exynos4210-smdkv310:

[   10.857719] [ cut here ]
[   10.861967] WARNING: CPU: 0 PID: 82 at kernel/locking/lockdep.c:2876 
__irq_svc+0x8c/0xb0
[   10.862450] DEBUG_LOCKS_WARN_ON(current->hardirq_context)
...
[   10.869031] [] (__irq_svc) from [] 
(s3c24xx_serial_tx_chars+0x1b8/0x204)
[   10.869369] [] (s3c24xx_serial_tx_chars) from [] 
(s3c64xx_serial_handle_irq+0x34/0x60)
[   10.869729] [] (s3c64xx_serial_handle_irq) from [] 
(__handle_irq_event_percpu+0x84/0x46c)
[   10.870093] [] (__handle_irq_event_percpu) from [] 
(handle_irq_event_percpu+0x2c/0x7c)
[   10.870446] [] (handle_irq_event_percpu) from [] 
(handle_irq_event+0x38/0x5c)
[   10.870831] [] (handle_irq_event) from [] 
(handle_fasteoi_irq+0xb8/0x16c)
[   10.871193] [] (handle_fasteoi_irq) from [] 
(generic_handle_irq+0x24/0x34)
[   10.871569] [] (generic_handle_irq) from [] 
(__handle_domain_irq+0x7c/0xec)
[   10.871879] [] (__handle_domain_irq) from [] 
(gic_handle_irq+0x58/0x9c)
[   10.872170] [] (gic_handle_irq) from [] 
(__irq_svc+0x70/0xb0)

---
sh:

WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 
ohci_init+0x194/0x2d0
...
Call trace:
 [<(ptrval)>] usb_add_hcd+0x1e8/0x6ec
 [<(ptrval)>] _dev_info+0x0/0x54
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] ohci_hcd_sm501_drv_probe+0x114/0x2d8

[several associated instances]

WARNING: CPU: 0 PID: 1 at mm/slab.c:2666 cache_alloc_refill+0x8a/0x594
...
Call trace:
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] kmem_cache_alloc+0x72/0xac
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] 

Re: linux-next: Tree for Aug 13

2018-08-13 Thread Guenter Roeck
On Mon, Aug 13, 2018 at 07:32:01PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20180810:
> 
> The ida tree lost its build failure.
> 
> The akpm-current tree gained conflicts against the block tree and a
> build failure due to an interaction with the userns tree for which I
> applied a merge fix patch.
> 
> Non-merge commits (relative to Linus' tree): 11957
>  10727 files changed, 510277 insertions(+), 209635 deletions(-)
> 
> 
> 

Complete report, given this is probably the base of v4.19-rc1.

Guenter

---

Build results:
total: 134 pass: 127 fail: 7
Failed builds: 
m68k:allmodconfig 
powerpc:ppc6xx_defconfig
s390:allmodconfig 
sparc32:allmodconfig 
unicore32:defconfig 
unicore32:allnoconfig 
xtensa:allmodconfig 
Qemu test results:
total: 297 pass: 297 fail: 0

---
m68k:allmodconfig, powerpc:ppc6xx_defconfig, xtensa:allmodconfig:

drivers/net/virtio_net.c: In function 'virtnet_set_affinity':
drivers/net/virtio_net.c:1916:10: error: implicit declaration of function 
'cpumask_next_wrap'

s390:allmodconfig:

drivers/net/ethernet/microchip/lan743x_ethtool.c:
In function 'lan743x_ethtool_get_ts_info':
drivers/net/ethernet/microchip/lan743x_ethtool.c:558:19: error:
'struct lan743x_ptp' has no member named 'ptp_clock'`

[multiple instances in several files]

---
sparc32:allmodconfig:

arch/sparc/kernel/head_32.o: In function `current_pc':
arch/sparc/kernel/.tmp_head_32.o:(.head.text+0x5040): relocation truncated to 
fit: R_SPARC_WDISP22 against `.init.text'
arch/sparc/kernel/head_32.o: In function `halt_notsup':
arch/sparc/kernel/.tmp_head_32.o:(.head.text+0x5100): relocation truncated to 
fit: R_SPARC_WDISP22 against `.init.text'
arch/sparc/kernel/head_32.o: In function `leon_init':
arch/sparc/kernel/.tmp_head_32.o:(.init.text+0xa4): relocation truncated to 
fit: R_SPARC_WDISP22 against symbol `leon_smp_cpu_startup' defined in .text 
section
in arch/sparc/kernel/trampoline_32.o
arch/sparc/kernel/process_32.o:(.fixup+0x4): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/process_32.o:(.fixup+0xc): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x0): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x8): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x10): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x18): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x20): relocation truncated to fit: 
R_SPARC_WDISP22 against `.text'
arch/sparc/kernel/signal_32.o:(.fixup+0x28): additional relocation overflows 
omitted from the output

---
unicore32:defconfig, unicore32:allnoconfig:

In file included from include/linux/mm.h:17,
 from arch/unicore32/kernel/asm-offsets.c:17:
linux/mm_types.h:500: error: flexible array member in otherwise empty struct

[maybe due to gcc version 4.4.2, more recent toolchain not available]

==

Runtime warnings:

arm:smdkc210:exynos_defconfig:exynos4210-smdkv310:

[   10.857719] [ cut here ]
[   10.861967] WARNING: CPU: 0 PID: 82 at kernel/locking/lockdep.c:2876 
__irq_svc+0x8c/0xb0
[   10.862450] DEBUG_LOCKS_WARN_ON(current->hardirq_context)
...
[   10.869031] [] (__irq_svc) from [] 
(s3c24xx_serial_tx_chars+0x1b8/0x204)
[   10.869369] [] (s3c24xx_serial_tx_chars) from [] 
(s3c64xx_serial_handle_irq+0x34/0x60)
[   10.869729] [] (s3c64xx_serial_handle_irq) from [] 
(__handle_irq_event_percpu+0x84/0x46c)
[   10.870093] [] (__handle_irq_event_percpu) from [] 
(handle_irq_event_percpu+0x2c/0x7c)
[   10.870446] [] (handle_irq_event_percpu) from [] 
(handle_irq_event+0x38/0x5c)
[   10.870831] [] (handle_irq_event) from [] 
(handle_fasteoi_irq+0xb8/0x16c)
[   10.871193] [] (handle_fasteoi_irq) from [] 
(generic_handle_irq+0x24/0x34)
[   10.871569] [] (generic_handle_irq) from [] 
(__handle_domain_irq+0x7c/0xec)
[   10.871879] [] (__handle_domain_irq) from [] 
(gic_handle_irq+0x58/0x9c)
[   10.872170] [] (gic_handle_irq) from [] 
(__irq_svc+0x70/0xb0)

---
sh:

WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 
ohci_init+0x194/0x2d0
...
Call trace:
 [<(ptrval)>] usb_add_hcd+0x1e8/0x6ec
 [<(ptrval)>] _dev_info+0x0/0x54
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] ohci_hcd_sm501_drv_probe+0x114/0x2d8

[several associated instances]

WARNING: CPU: 0 PID: 1 at mm/slab.c:2666 cache_alloc_refill+0x8a/0x594
...
Call trace:
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] kmem_cache_alloc+0x72/0xac
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] 

linux-next: Tree for Aug 13

2018-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20180810:

The ida tree lost its build failure.

The akpm-current tree gained conflicts against the block tree and a
build failure due to an interaction with the userns tree for which I
applied a merge fix patch.

Non-merge commits (relative to Linus' tree): 11957
 10727 files changed, 510277 insertions(+), 209635 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig. And finally, a simple boot test of the powerpc
pseries_le_defconfig kernel in qemu (with and without kvm enabled).

Below is a summary of the state of the merge.

I am currently merging 286 trees (counting Linus' and 65 trees of bug
fix patches pending for the current merge release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwell

$ git checkout master
$ git reset --hard stable
Merging origin/master (94710cac0ef4 Linux 4.18)
Merging fixes/master (147a89bc71e7 Merge tag 'kconfig-v4.17' of 
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild)
Merging kbuild-current/fixes (9d3cce1e8b85 Linux 4.18-rc5)
Merging arc-current/for-curr (7945121f56a2 ARC: [plat-axs*]: Enable SWAP)
Merging arm-current/fixes (afc9f65e01cd ARM: 8781/1: Fix Thumb-2 syscall return 
for binutils 2.29+)
Merging arm64-fixes/for-next/fixes (c7513c2a2714 crypto/arm64: aes-ce-gcm - add 
missing kernel_neon_begin/end pair)
Merging m68k-current/for-linus (71a896687b85 m68k/defconfig: Update defconfigs 
for v4.18-rc6)
Merging powerpc-fixes/fixes (cca19f0b684f powerpc/64s/radix: Fix missing global 
invalidations when removing copro)
Merging sparc/master (c1d61e7fe376 Merge tag 'scsi-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi)
Merging fscrypt-current/for-stable (ae64f9bd1d36 Linux 4.15-rc2)
Merging net/master (ec0c96714e7d Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net)
Merging bpf/master (9c9542011739 Merge branch 'bpf-fix-cpu-and-devmap-teardown')
Merging ipsec/master (25432eba9cd8 openvswitch: meter: Fix setting meter id for 
new entries)
Merging netfilter/master (16e98cec49a4 ipvs: don't show negative times in 
ip_vs_conn)
Merging ipvs/master (16e98cec49a4 ipvs: don't show negative times in ip_vs_conn)
Merging wireless-drivers/master (299b6365a3b7 brcmfmac: fix regression in 
parsing NVRAM for multiple devices)
Merging mac80211/master (e31f6456c01c cfg80211: never ignore user regulatory 
hint)
Merging rdma-fixes/for-rc (addb8a6559f0 RDMA/uverbs: Expand primary and alt AV 
port checks)
Merging sound-current/for-linus (73b383141d29 Merge branch 'for-next' into 
for-linus)
Merging sound-asoc-fixes/for-linus (6c0848398776 Merge branch 'asoc-4.18' into 
asoc-linus)
Merging regmap-fixes/for-linus (1ffaddd029c8 Linux 4.18-rc8)
Merging regulator-fixes/for-linus (a8afa92ec0d9 Merge branch 'regulator-4.18' 
into regulator-linus)
Merging spi-fixes/for-linus (c3c7126248a0 Merge branch 'spi-4.18' into 
spi-linus)
Merging pci-current/for-linus (44bda4b7d26e PCI: Fix is_added/is_busmaster race 
condition)
Merging driver-core.current/driver-core-linus (acb1872577b3 Linux 4.18-rc7)
Merging tty.current/tty-linus (021c91791a5e Linux 4.18-rc3)
Merging usb.current/usb-linus (acb1872577b3 Linux 4.18-rc7)
Merging usb-gadget-fixes/fixes (acb1872577b3 Linux 4.18-rc7)
Merging usb-serial-fixes/usb-linus (9d3cce1e8b85 Linux 4.18-rc5)
Merging usb-chipidea-fixes/ci-for-usb-stable (a930d8bd94d8 usb: chipidea: 
Always build ULPI code)
Merging phy/fixes (ad5003300b07 phy: mapphone-mdm6600: Fix wrong enum used for 
status lines)
Merging staging.current/staging-linus (acb1872577b3 Linux 4.18-rc7)
Merging char-misc.current/char-misc-linus (3d27c4de8d4f Revert 

linux-next: Tree for Aug 13

2018-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20180810:

The ida tree lost its build failure.

The akpm-current tree gained conflicts against the block tree and a
build failure due to an interaction with the userns tree for which I
applied a merge fix patch.

Non-merge commits (relative to Linus' tree): 11957
 10727 files changed, 510277 insertions(+), 209635 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc, an allmodconfig for x86_64, a
multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), I do an x86_64 modules_install followed by
builds for x86_64 allnoconfig, powerpc allnoconfig (32 and 64 bit),
ppc44x_defconfig, allyesconfig and pseries_le_defconfig and i386, sparc
and sparc64 defconfig. And finally, a simple boot test of the powerpc
pseries_le_defconfig kernel in qemu (with and without kvm enabled).

Below is a summary of the state of the merge.

I am currently merging 286 trees (counting Linus' and 65 trees of bug
fix patches pending for the current merge release).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwell

$ git checkout master
$ git reset --hard stable
Merging origin/master (94710cac0ef4 Linux 4.18)
Merging fixes/master (147a89bc71e7 Merge tag 'kconfig-v4.17' of 
git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild)
Merging kbuild-current/fixes (9d3cce1e8b85 Linux 4.18-rc5)
Merging arc-current/for-curr (7945121f56a2 ARC: [plat-axs*]: Enable SWAP)
Merging arm-current/fixes (afc9f65e01cd ARM: 8781/1: Fix Thumb-2 syscall return 
for binutils 2.29+)
Merging arm64-fixes/for-next/fixes (c7513c2a2714 crypto/arm64: aes-ce-gcm - add 
missing kernel_neon_begin/end pair)
Merging m68k-current/for-linus (71a896687b85 m68k/defconfig: Update defconfigs 
for v4.18-rc6)
Merging powerpc-fixes/fixes (cca19f0b684f powerpc/64s/radix: Fix missing global 
invalidations when removing copro)
Merging sparc/master (c1d61e7fe376 Merge tag 'scsi-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi)
Merging fscrypt-current/for-stable (ae64f9bd1d36 Linux 4.15-rc2)
Merging net/master (ec0c96714e7d Merge 
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net)
Merging bpf/master (9c9542011739 Merge branch 'bpf-fix-cpu-and-devmap-teardown')
Merging ipsec/master (25432eba9cd8 openvswitch: meter: Fix setting meter id for 
new entries)
Merging netfilter/master (16e98cec49a4 ipvs: don't show negative times in 
ip_vs_conn)
Merging ipvs/master (16e98cec49a4 ipvs: don't show negative times in ip_vs_conn)
Merging wireless-drivers/master (299b6365a3b7 brcmfmac: fix regression in 
parsing NVRAM for multiple devices)
Merging mac80211/master (e31f6456c01c cfg80211: never ignore user regulatory 
hint)
Merging rdma-fixes/for-rc (addb8a6559f0 RDMA/uverbs: Expand primary and alt AV 
port checks)
Merging sound-current/for-linus (73b383141d29 Merge branch 'for-next' into 
for-linus)
Merging sound-asoc-fixes/for-linus (6c0848398776 Merge branch 'asoc-4.18' into 
asoc-linus)
Merging regmap-fixes/for-linus (1ffaddd029c8 Linux 4.18-rc8)
Merging regulator-fixes/for-linus (a8afa92ec0d9 Merge branch 'regulator-4.18' 
into regulator-linus)
Merging spi-fixes/for-linus (c3c7126248a0 Merge branch 'spi-4.18' into 
spi-linus)
Merging pci-current/for-linus (44bda4b7d26e PCI: Fix is_added/is_busmaster race 
condition)
Merging driver-core.current/driver-core-linus (acb1872577b3 Linux 4.18-rc7)
Merging tty.current/tty-linus (021c91791a5e Linux 4.18-rc3)
Merging usb.current/usb-linus (acb1872577b3 Linux 4.18-rc7)
Merging usb-gadget-fixes/fixes (acb1872577b3 Linux 4.18-rc7)
Merging usb-serial-fixes/usb-linus (9d3cce1e8b85 Linux 4.18-rc5)
Merging usb-chipidea-fixes/ci-for-usb-stable (a930d8bd94d8 usb: chipidea: 
Always build ULPI code)
Merging phy/fixes (ad5003300b07 phy: mapphone-mdm6600: Fix wrong enum used for 
status lines)
Merging staging.current/staging-linus (acb1872577b3 Linux 4.18-rc7)
Merging char-misc.current/char-misc-linus (3d27c4de8d4f Revert 

linux-next: Tree for Aug 13

2015-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20150812:

The v4l-dvb tree still had its build failure so I used the version from
next-20150810.

The bluetooth tree lost its build failure.

The staging tree gained a conflict against the tip tree.

The clk tree lost its build failure but gained a conflict against the
drm-msm tree.

The akpm tree lost 3 patches that turned up elsewhere.

Non-merge commits (relative to Linus' tree): 7160
 6468 files changed, 323020 insertions(+), 153451 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc and an allmodconfig for x86_64,
a multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), it is also built with powerpc allnoconfig
(32 and 64 bit), ppc44x_defconfig and allyesconfig (this fails its final
link) and i386, sparc, sparc64 and arm defconfig.

Below is a summary of the state of the merge.

I am currently merging 224 trees (counting Linus' and 32 trees of patches
pending for Linus' tree).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (30065bfda900 Merge tag 'arm64-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux)
Merging fixes/master (c7e9ad7da219 Merge branch 'perf-urgent-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip)
Merging kbuild-current/rc-fixes (3d1450d54a4f Makefile: Force gzip and xz on 
module install)
Merging arc-current/for-curr (e4140819dadc ARC: signal handling robustify)
Merging arm-current/fixes (09edea4f8fde ARM: 8410/1: VDSO: fix coarse clock 
monotonicity regression)
Merging m68k-current/for-linus (1214c525484c m68k: Use for_each_sg())
Merging metag-fixes/fixes (0164a711c97b metag: Fix ioremap_wc/ioremap_cached 
build errors)
Merging mips-fixes/mips-fixes (1795cd9b3a91 Linux 3.16-rc5)
Merging powerpc-fixes/fixes (f7644cbfcdf0 Linux 4.2-rc6)
Merging powerpc-merge-mpe/fixes (bc0195aad0da Linux 4.2-rc2)
Merging sparc/master (73958c651fbf sparc64: use ENTRY/ENDPROC in VISsave)
Merging net/master (e941ba865033 Merge branch 'gianfar-fixes')
Merging ipsec/master (158cd4af8ded packet: missing dev_put() in 
packet_do_bind())
Merging sound-current/for-linus (6ac7ada210a8 Merge tag 'asoc-fix-v4.2-rc5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus)
Merging pci-current/for-linus (c9ddbac9c891 PCI: Restore PCI_MSIX_FLAGS_BIRMASK 
definition)
Merging wireless-drivers/master (741e3b9902d1 rtlwifi: rtl8723be: Add module 
parameter for MSI interrupts)
Merging driver-core.current/driver-core-linus (cbfe8fa6cd67 Linux 4.2-rc4)
Merging tty.current/tty-linus (cbfe8fa6cd67 Linux 4.2-rc4)
Merging usb.current/usb-linus (f7644cbfcdf0 Linux 4.2-rc6)
Merging usb-gadget-fixes/fixes (c93e64e91248 usb: udc: core: add device_del() 
call to error pathway)
Merging usb-serial-fixes/usb-linus (74472233233f USB: sierra: add 1199:68AB 
device ID)
Merging staging.current/staging-linus (f7644cbfcdf0 Linux 4.2-rc6)
Merging char-misc.current/char-misc-linus (f7644cbfcdf0 Linux 4.2-rc6)
Merging input-current/for-linus (6b30c73e9f37 Input: elantech - add special 
check for fw_version 0x470f01 touchpad)
Merging crypto-current/master (d3392f41f6d3 crypto: nx - respect sg limit 
bounds when building sg lists for SHA)
Merging ide/master (d681f1166919 ide: remove deprecated use of pci api)
Merging devicetree-current/devicetree/merge (f76502aa9140 of/dynamic: Fix test 
for PPC_PSERIES)
Merging rr-fixes/fixes (fe0d34d242fa module: weaken locking assertion for oops 
path.)
Merging vfio-fixes/for-linus (4bc94d5dc95d vfio: Fix lockdep issue)
Merging kselftest-fixes/fixes (fee50f3c8427 selftests/futex: Fix 
futex_cmp_requeue_pi() error handling)
Merging backlight-fixes/for-backlight-fixes (68feaca0b13e backlight: pwm: 
Handle EPROBE_DEFER while requesting the PWM)
Merging ftrace-fixes/for-next-urgent (6224beb12e19 tracing: Have branch tracer 
use 

linux-next: Tree for Aug 13

2015-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20150812:

The v4l-dvb tree still had its build failure so I used the version from
next-20150810.

The bluetooth tree lost its build failure.

The staging tree gained a conflict against the tip tree.

The clk tree lost its build failure but gained a conflict against the
drm-msm tree.

The akpm tree lost 3 patches that turned up elsewhere.

Non-merge commits (relative to Linus' tree): 7160
 6468 files changed, 323020 insertions(+), 153451 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use git pull
to do so as that will try to merge the new linux-next release with the
old one.  You should use git fetch and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log
files in the Next directory.  Between each merge, the tree was built
with a ppc64_defconfig for powerpc and an allmodconfig for x86_64,
a multi_v7_defconfig for arm and a native build of tools/perf. After
the final fixups (if any), it is also built with powerpc allnoconfig
(32 and 64 bit), ppc44x_defconfig and allyesconfig (this fails its final
link) and i386, sparc, sparc64 and arm defconfig.

Below is a summary of the state of the merge.

I am currently merging 224 trees (counting Linus' and 32 trees of patches
pending for Linus' tree).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (30065bfda900 Merge tag 'arm64-fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux)
Merging fixes/master (c7e9ad7da219 Merge branch 'perf-urgent-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip)
Merging kbuild-current/rc-fixes (3d1450d54a4f Makefile: Force gzip and xz on 
module install)
Merging arc-current/for-curr (e4140819dadc ARC: signal handling robustify)
Merging arm-current/fixes (09edea4f8fde ARM: 8410/1: VDSO: fix coarse clock 
monotonicity regression)
Merging m68k-current/for-linus (1214c525484c m68k: Use for_each_sg())
Merging metag-fixes/fixes (0164a711c97b metag: Fix ioremap_wc/ioremap_cached 
build errors)
Merging mips-fixes/mips-fixes (1795cd9b3a91 Linux 3.16-rc5)
Merging powerpc-fixes/fixes (f7644cbfcdf0 Linux 4.2-rc6)
Merging powerpc-merge-mpe/fixes (bc0195aad0da Linux 4.2-rc2)
Merging sparc/master (73958c651fbf sparc64: use ENTRY/ENDPROC in VISsave)
Merging net/master (e941ba865033 Merge branch 'gianfar-fixes')
Merging ipsec/master (158cd4af8ded packet: missing dev_put() in 
packet_do_bind())
Merging sound-current/for-linus (6ac7ada210a8 Merge tag 'asoc-fix-v4.2-rc5' of 
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus)
Merging pci-current/for-linus (c9ddbac9c891 PCI: Restore PCI_MSIX_FLAGS_BIRMASK 
definition)
Merging wireless-drivers/master (741e3b9902d1 rtlwifi: rtl8723be: Add module 
parameter for MSI interrupts)
Merging driver-core.current/driver-core-linus (cbfe8fa6cd67 Linux 4.2-rc4)
Merging tty.current/tty-linus (cbfe8fa6cd67 Linux 4.2-rc4)
Merging usb.current/usb-linus (f7644cbfcdf0 Linux 4.2-rc6)
Merging usb-gadget-fixes/fixes (c93e64e91248 usb: udc: core: add device_del() 
call to error pathway)
Merging usb-serial-fixes/usb-linus (74472233233f USB: sierra: add 1199:68AB 
device ID)
Merging staging.current/staging-linus (f7644cbfcdf0 Linux 4.2-rc6)
Merging char-misc.current/char-misc-linus (f7644cbfcdf0 Linux 4.2-rc6)
Merging input-current/for-linus (6b30c73e9f37 Input: elantech - add special 
check for fw_version 0x470f01 touchpad)
Merging crypto-current/master (d3392f41f6d3 crypto: nx - respect sg limit 
bounds when building sg lists for SHA)
Merging ide/master (d681f1166919 ide: remove deprecated use of pci api)
Merging devicetree-current/devicetree/merge (f76502aa9140 of/dynamic: Fix test 
for PPC_PSERIES)
Merging rr-fixes/fixes (fe0d34d242fa module: weaken locking assertion for oops 
path.)
Merging vfio-fixes/for-linus (4bc94d5dc95d vfio: Fix lockdep issue)
Merging kselftest-fixes/fixes (fee50f3c8427 selftests/futex: Fix 
futex_cmp_requeue_pi() error handling)
Merging backlight-fixes/for-backlight-fixes (68feaca0b13e backlight: pwm: 
Handle EPROBE_DEFER while requesting the PWM)
Merging ftrace-fixes/for-next-urgent (6224beb12e19 tracing: Have branch tracer 
use 

linux-next: Tree for Aug 13

2014-08-12 Thread Stephen Rothwell
Hi all,

Please do not add code intended for v3.18 until after v3.17-rc1 is
released.

Changes since 20140812:

*crickets*

Non-merge commits (relative to Linus' tree): 1630
 1296 files changed, 35584 insertions(+), 16939 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log files
in the Next directory.  Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64 and a
multi_v7_defconfig for arm. After the final fixups (if any), it is also
built with powerpc allnoconfig (32 and 64 bit), ppc44x_defconfig and
allyesconfig (this fails its final link) and i386, sparc, sparc64 and arm
defconfig.

Below is a summary of the state of the merge.

I am currently merging 220 trees (counting Linus' and 30 trees of patches
pending for Linus' tree).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (c8d6637d0497 Merge tag 'modules-next-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux)
Merging fixes/master (23cf8d3ca0fd powerpc: Fix "attempt to move .org 
backwards" error)
Merging kbuild-current/rc-fixes (dd5a6752ae7d firmware: Create directories for 
external firmware)
Merging arc-current/for-curr (89ca3b881987 Linux 3.15-rc4)
Merging arm-current/fixes (e57e41931134 ARM: wire up memfd_create syscall)
Merging m68k-current/for-linus (9117710a5997 m68k/sun3: Remove define statement 
no longer needed)
Merging metag-fixes/fixes (ffe6902b66aa asm-generic: remove _STK_LIM_MAX)
Merging mips-fixes/mips-fixes (08a9c3c9afcf MIPS: OCTEON: make 
get_system_type() thread-safe)
Merging powerpc-merge/merge (396a34340cdf powerpc: Fix endianness of 
flash_block_list in rtas_flash)
Merging sparc/master (8bccf5b31318 sparc64: Fix pcr_ops initialization and 
usage bugs.)
Merging net/master (61dac43ee6be Merge branch 'bcmgenet')
Merging ipsec/master (a0e5ef53aac8 xfrm: Fix installation of AH IPsec SAs)
Merging sound-current/for-linus (e24aa0a4c5ac ALSA: hda/ca0132 - Don't try 
loading firmware at resume when already failed)
Merging pci-current/for-linus (9baa3c34ac4e PCI: Remove DEFINE_PCI_DEVICE_TABLE 
macro use)
Merging wireless/master (2da2c5854ed7 net: wireless: ipw2x00: ipw2200.c: 
Cleaning up missing null-terminate after strncpy call)
Merging driver-core.current/driver-core-linus (c489d98c8c81 Merge branch 
'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging tty.current/tty-linus (c489d98c8c81 Merge branch 'for-linus' of 
git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging usb.current/usb-linus (c489d98c8c81 Merge branch 'for-linus' of 
git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging usb-gadget-fixes/fixes (a8a85b01d185 usb: musb/cppi41: call 
musb_ep_select() before accessing an endpoint's CSR)
CONFLICT (content): Merge conflict in drivers/usb/musb/musb_host.c
Merging usb-serial-fixes/usb-linus (19583ca584d6 Linux 3.16)
Merging staging.current/staging-linus (c309bfa9b481 Merge tag 
'for-linus-20140808' of git://git.infradead.org/linux-mtd)
Merging char-misc.current/char-misc-linus (c489d98c8c81 Merge branch 
'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging input-current/for-linus (a6b48699ae50 Input: joystick - use get_cycles 
on ARMv8)
Merging md-current/for-linus (d47648fcf061 raid5: avoid finding "discard" 
stripe)
Merging crypto-current/master (ce5481d01f67 crypto: drbg - fix failure of 
generating multiple of 2**16 bytes)
Merging ide/master (a53dae49b2fe ide: use module_platform_driver())
Merging dwmw2/master (5950f0803ca9 pcmcia: remove RPX board stuff)
Merging devicetree-current/devicetree/merge (5a12a597a862 arm: Add devicetree 
fixup machine function)
Merging rr-fixes/fixes (79465d2fd48e module: remove warning about waiting 
module removal.)
Merging vfio-fixes/for-linus (239a87020b26 Merge branch 
'for-joerg/arm-smmu/fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into for-linus)
Merging drm-intel-fixes/for-linux-next-fixes (f4be89cecea4 drm/i915: 

linux-next: Tree for Aug 13

2014-08-12 Thread Stephen Rothwell
Hi all,

Please do not add code intended for v3.18 until after v3.17-rc1 is
released.

Changes since 20140812:

*crickets*

Non-merge commits (relative to Linus' tree): 1630
 1296 files changed, 35584 insertions(+), 16939 deletions(-)



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use git pull
to do so as that will try to merge the new linux-next release with the
old one.  You should use git fetch and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log files
in the Next directory.  Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64 and a
multi_v7_defconfig for arm. After the final fixups (if any), it is also
built with powerpc allnoconfig (32 and 64 bit), ppc44x_defconfig and
allyesconfig (this fails its final link) and i386, sparc, sparc64 and arm
defconfig.

Below is a summary of the state of the merge.

I am currently merging 220 trees (counting Linus' and 30 trees of patches
pending for Linus' tree).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (c8d6637d0497 Merge tag 'modules-next-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux)
Merging fixes/master (23cf8d3ca0fd powerpc: Fix attempt to move .org 
backwards error)
Merging kbuild-current/rc-fixes (dd5a6752ae7d firmware: Create directories for 
external firmware)
Merging arc-current/for-curr (89ca3b881987 Linux 3.15-rc4)
Merging arm-current/fixes (e57e41931134 ARM: wire up memfd_create syscall)
Merging m68k-current/for-linus (9117710a5997 m68k/sun3: Remove define statement 
no longer needed)
Merging metag-fixes/fixes (ffe6902b66aa asm-generic: remove _STK_LIM_MAX)
Merging mips-fixes/mips-fixes (08a9c3c9afcf MIPS: OCTEON: make 
get_system_type() thread-safe)
Merging powerpc-merge/merge (396a34340cdf powerpc: Fix endianness of 
flash_block_list in rtas_flash)
Merging sparc/master (8bccf5b31318 sparc64: Fix pcr_ops initialization and 
usage bugs.)
Merging net/master (61dac43ee6be Merge branch 'bcmgenet')
Merging ipsec/master (a0e5ef53aac8 xfrm: Fix installation of AH IPsec SAs)
Merging sound-current/for-linus (e24aa0a4c5ac ALSA: hda/ca0132 - Don't try 
loading firmware at resume when already failed)
Merging pci-current/for-linus (9baa3c34ac4e PCI: Remove DEFINE_PCI_DEVICE_TABLE 
macro use)
Merging wireless/master (2da2c5854ed7 net: wireless: ipw2x00: ipw2200.c: 
Cleaning up missing null-terminate after strncpy call)
Merging driver-core.current/driver-core-linus (c489d98c8c81 Merge branch 
'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging tty.current/tty-linus (c489d98c8c81 Merge branch 'for-linus' of 
git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging usb.current/usb-linus (c489d98c8c81 Merge branch 'for-linus' of 
git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging usb-gadget-fixes/fixes (a8a85b01d185 usb: musb/cppi41: call 
musb_ep_select() before accessing an endpoint's CSR)
CONFLICT (content): Merge conflict in drivers/usb/musb/musb_host.c
Merging usb-serial-fixes/usb-linus (19583ca584d6 Linux 3.16)
Merging staging.current/staging-linus (c309bfa9b481 Merge tag 
'for-linus-20140808' of git://git.infradead.org/linux-mtd)
Merging char-misc.current/char-misc-linus (c489d98c8c81 Merge branch 
'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm)
Merging input-current/for-linus (a6b48699ae50 Input: joystick - use get_cycles 
on ARMv8)
Merging md-current/for-linus (d47648fcf061 raid5: avoid finding discard 
stripe)
Merging crypto-current/master (ce5481d01f67 crypto: drbg - fix failure of 
generating multiple of 2**16 bytes)
Merging ide/master (a53dae49b2fe ide: use module_platform_driver())
Merging dwmw2/master (5950f0803ca9 pcmcia: remove RPX board stuff)
Merging devicetree-current/devicetree/merge (5a12a597a862 arm: Add devicetree 
fixup machine function)
Merging rr-fixes/fixes (79465d2fd48e module: remove warning about waiting 
module removal.)
Merging vfio-fixes/for-linus (239a87020b26 Merge branch 
'for-joerg/arm-smmu/fixes' of 
git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into for-linus)
Merging drm-intel-fixes/for-linux-next-fixes (f4be89cecea4 drm/i915: Fix 

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 10:33 PM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 10:25 PM, Sedat Dilek  wrote:
>> On Tue, Aug 13, 2013 at 10:20 PM, Chris Wilson  
>> wrote:
>>> On Tue, Aug 13, 2013 at 10:16:10PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson  
 wrote:
 > On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
 >> On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson 
 >>  wrote:
 >> > On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
 >> >> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson 
 >> >>  wrote:
 >> >> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
 >> >> >> Files attached.
 >> >> >
 >> >> > Can you also please attach a full dmesg so I can check for anything
 >> >> > unusual?
 >> >> >
 >> >
 >> > Nothing scarred me on a couple of read throughs.
 >> >
 >> > What happens if you try:
 >> >
 >> > diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
 >> > b/drivers/gpu/drm/i915/i915_gem_stolen.c
 >> > index 112c5e1..9828d9b 100644
 >> > --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
 >> > +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
 >> > @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device 
 >> > *dev, u32 size)
 >> > return NULL;
 >> >
 >> > ret = drm_mm_insert_node(_priv->mm.stolen, stolen, size,
 >> > -4096, DRM_MM_SEARCH_DEFAULT);
 >> > +1024*1024, DRM_MM_SEARCH_DEFAULT);
 >> > if (ret) {
 >> > kfree(stolen);
 >> > return NULL;
 >> >
 >> > --
 >>
 >> Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
 >> from the top).
 >> On the bottom I can read "Ubuntu 12.04 LTS" with the known background.
 >> So-to-say 3/4 "blind".
 >
 > That implies that the scanout is always reading from the base of stolen.
 > Can you grab intel_reg_dumper so that I can check what values the
 > transcoder is set to?
 >
 > At the moment, I am guessing that the display never sees the updated
 > surface offset and so persists with the value programmed by the BIOS -
 > which will be 0 and set to the base of stolen memory in the GTT. A
 > drm.debug=6 dmesg would help here as well.
 >
 > If you forced a mode change, I think that too would restore the output.

 With which kernel? Vanilla next-20130813? With any of your patches?
>>>
>>> Any but the working one ;-)
>>
>> Damn Gmail, they switched again the UI, f***.
>>
>> This is d-i-n with Revert "drm/i915: Allocate LLC ringbuffers from
>> stolen" <--- "working one" (no screen corruptions).
>>
>> - Sedat -
>
> Vanilla next-20130813 after 1st login and logout-unity2d-plus-relogin-lightdm.
> The diff might be interesting as the 2nd login makes the issue go away.
>

intel_reg_dumper output attached.

- Sedat -
PGETBL_CTL: 0x
   GEN6_INSTDONE_1: 0xfffe
   GEN6_INSTDONE_2: 0x
  CPU_VGACNTRL: 0x8000 (disabled)
DIGITAL_PORT_HOTPLUG_CNTRL: 0x
 RR_HW_CTL: 0x (low 0, high 0)
FDI_PLL_BIOS_0: 0x
FDI_PLL_BIOS_1: 0x
FDI_PLL_BIOS_2: 0x
   DISPLAY_PORT_PLL_BIOS_0: 0x
   DISPLAY_PORT_PLL_BIOS_1: 0x
   DISPLAY_PORT_PLL_BIOS_2: 0x
  FDI_PLL_FREQ_CTL: 0x
 PIPEACONF: 0xc000 (enabled, active, pf-pd, rotate 0, 
8bpc)
  HTOTAL_A: 0x05cd0555 (1366 active, 1486 total)
  HBLANK_A: 0x05cd0555 (1366 start, 1486 end)
   HSYNC_A: 0x05a50585 (1414 start, 1446 end)
  VTOTAL_A: 0x031702ff (768 active, 792 total)
  VBLANK_A: 0x031702ff (768 start, 792 end)
   VSYNC_A: 0x03060301 (770 start, 775 end)
  VSYNCSHIFT_A: 0x
  PIPEASRC: 0x055502ff (1366, 768)
 PIPEA_DATA_M1: 0x7e32468a (TU 64, val 0x32468a 3294858)
 PIPEA_DATA_N1: 0x0040 (val 0x40 4194304)
 PIPEA_DATA_M2: 0x (TU 1, val 0x0 0)
 PIPEA_DATA_N2: 0x (val 0x0 0)
 PIPEA_LINK_M1: 0x00021845 (val 0x21845 137285)
 PIPEA_LINK_N1: 0x0008 (val 0x8 524288)
 PIPEA_LINK_M2: 0x (val 0x0 0)
 PIPEA_LINK_N2: 0x (val 0x0 0)
  DSPACNTR: 0xd8004400 (enabled)
  DSPABASE: 0x
DSPASTRIDE: 0x1600 (88)
  DSPASURF: 0x0047a000
   DSPATILEOFF: 0x (0, 0)
 PIPEBCONF: 0x (disabled, inactive, pf-pd, rotate 
0, 8bpc)
 

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson  
> wrote:
> > On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
> >> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson  
> >> wrote:
> >> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
> >> >> Files attached.
> >> >
> >> > Can you also please attach a full dmesg so I can check for anything
> >> > unusual?
> >> >
> >
> > Nothing scarred me on a couple of read throughs.
> >
> > What happens if you try:
> >
> > diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
> > b/drivers/gpu/drm/i915/i915_gem_stolen.c
> > index 112c5e1..9828d9b 100644
> > --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
> > +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
> > @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, 
> > u32 size)
> > return NULL;
> >
> > ret = drm_mm_insert_node(_priv->mm.stolen, stolen, size,
> > -4096, DRM_MM_SEARCH_DEFAULT);
> > +1024*1024, DRM_MM_SEARCH_DEFAULT);
> > if (ret) {
> > kfree(stolen);
> > return NULL;
> >
> > --
> 
> Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
> from the top).
> On the bottom I can read "Ubuntu 12.04 LTS" with the known background.
> So-to-say 3/4 "blind".

That implies that the scanout is always reading from the base of stolen.
Can you grab intel_reg_dumper so that I can check what values the
transcoder is set to?

At the moment, I am guessing that the display never sees the updated
surface offset and so persists with the value programmed by the BIOS -
which will be 0 and set to the base of stolen memory in the GTT. A
drm.debug=6 dmesg would help here as well.

If you forced a mode change, I think that too would restore the output.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 10:16:10PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson  
> wrote:
> > On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
> >> On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson  
> >> wrote:
> >> > On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
> >> >> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson 
> >> >>  wrote:
> >> >> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
> >> >> >> Files attached.
> >> >> >
> >> >> > Can you also please attach a full dmesg so I can check for anything
> >> >> > unusual?
> >> >> >
> >> >
> >> > Nothing scarred me on a couple of read throughs.
> >> >
> >> > What happens if you try:
> >> >
> >> > diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
> >> > b/drivers/gpu/drm/i915/i915_gem_stolen.c
> >> > index 112c5e1..9828d9b 100644
> >> > --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
> >> > +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
> >> > @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device 
> >> > *dev, u32 size)
> >> > return NULL;
> >> >
> >> > ret = drm_mm_insert_node(_priv->mm.stolen, stolen, size,
> >> > -4096, DRM_MM_SEARCH_DEFAULT);
> >> > +1024*1024, DRM_MM_SEARCH_DEFAULT);
> >> > if (ret) {
> >> > kfree(stolen);
> >> > return NULL;
> >> >
> >> > --
> >>
> >> Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
> >> from the top).
> >> On the bottom I can read "Ubuntu 12.04 LTS" with the known background.
> >> So-to-say 3/4 "blind".
> >
> > That implies that the scanout is always reading from the base of stolen.
> > Can you grab intel_reg_dumper so that I can check what values the
> > transcoder is set to?
> >
> > At the moment, I am guessing that the display never sees the updated
> > surface offset and so persists with the value programmed by the BIOS -
> > which will be 0 and set to the base of stolen memory in the GTT. A
> > drm.debug=6 dmesg would help here as well.
> >
> > If you forced a mode change, I think that too would restore the output.
> 
> With which kernel? Vanilla next-20130813? With any of your patches?

Any but the working one ;-)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson  
>> wrote:
>> > On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
>> >> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson  
>> >> wrote:
>> >> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
>> >> >> Files attached.
>> >> >
>> >> > Can you also please attach a full dmesg so I can check for anything
>> >> > unusual?
>> >> >
>> >
>> > Nothing scarred me on a couple of read throughs.
>> >
>> > What happens if you try:
>> >
>> > diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
>> > b/drivers/gpu/drm/i915/i915_gem_stolen.c
>> > index 112c5e1..9828d9b 100644
>> > --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
>> > +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
>> > @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, 
>> > u32 size)
>> > return NULL;
>> >
>> > ret = drm_mm_insert_node(_priv->mm.stolen, stolen, size,
>> > -4096, DRM_MM_SEARCH_DEFAULT);
>> > +1024*1024, DRM_MM_SEARCH_DEFAULT);
>> > if (ret) {
>> > kfree(stolen);
>> > return NULL;
>> >
>> > --
>>
>> Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
>> from the top).
>> On the bottom I can read "Ubuntu 12.04 LTS" with the known background.
>> So-to-say 3/4 "blind".
>
> That implies that the scanout is always reading from the base of stolen.
> Can you grab intel_reg_dumper so that I can check what values the
> transcoder is set to?
>
> At the moment, I am guessing that the display never sees the updated
> surface offset and so persists with the value programmed by the BIOS -
> which will be 0 and set to the base of stolen memory in the GTT. A
> drm.debug=6 dmesg would help here as well.
>
> If you forced a mode change, I think that too would restore the output.

With which kernel? Vanilla next-20130813? With any of your patches?

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson  
>> wrote:
>> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
>> >> Files attached.
>> >
>> > Can you also please attach a full dmesg so I can check for anything
>> > unusual?
>> >
>
> Nothing scarred me on a couple of read throughs.
>
> What happens if you try:
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
> b/drivers/gpu/drm/i915/i915_gem_stolen.c
> index 112c5e1..9828d9b 100644
> --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
> +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
> @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 
> size)
> return NULL;
>
> ret = drm_mm_insert_node(_priv->mm.stolen, stolen, size,
> -4096, DRM_MM_SEARCH_DEFAULT);
> +1024*1024, DRM_MM_SEARCH_DEFAULT);
> if (ret) {
> kfree(stolen);
> return NULL;
>
> --

Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
from the top).
On the bottom I can read "Ubuntu 12.04 LTS" with the known background.
So-to-say 3/4 "blind".

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson  
> wrote:
> > On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
> >> Files attached.
> >
> > Can you also please attach a full dmesg so I can check for anything
> > unusual?
> >

Nothing scarred me on a couple of read throughs.

What happens if you try:

diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
b/drivers/gpu/drm/i915/i915_gem_stolen.c
index 112c5e1..9828d9b 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 
size)
return NULL;
 
ret = drm_mm_insert_node(_priv->mm.stolen, stolen, size,
-4096, DRM_MM_SEARCH_DEFAULT);
+1024*1024, DRM_MM_SEARCH_DEFAULT);
if (ret) {
kfree(stolen);
return NULL;

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 (xfs)

2013-08-13 Thread Eric Sandeen
On 8/13/13 11:59 AM, Randy Dunlap wrote:
> On 08/13/13 01:28, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20130812:
>>
> 
> on i386:
> 
> fs/built-in.o: In function `xfs_log_calc_minimum_size':
> (.text+0x1797a9): undefined reference to `__udivdi3'
> 
> 

See:

[PATCH] xfs: call roundup_64() to calculate the min_logblks

on the xfs list:

From: Jie Liu 

Replace roundup() with roundup_64() as we calculate min_logblks
with 64-bit divisions.  Hence, call roundup() will cause the
following error while compiling a 32-bit kernel:

fs/built-in.o: In function `xfs_log_calc_minimum_size':
fs/xfs/xfs_log_rlimit.c:140: undefined reference to `__udivdi3'

Reported-by: Fengguang Wu 
Cc: Dave Chinner 
Signed-off-by: Jie Liu 
---
 fs/xfs/xfs_log_rlimit.c |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/fs/xfs/xfs_log_rlimit.c b/fs/xfs/xfs_log_rlimit.c
index 6b17ef4..bbcec0b 100644
--- a/fs/xfs/xfs_log_rlimit.c
+++ b/fs/xfs/xfs_log_rlimit.c
@@ -136,10 +136,12 @@ xfs_log_calc_minimum_size(
 * Also, the log size should be a multiple of the log stripe unit, round
 * it up to lsunit boundary if lsunit is specified.
 */
-   if (lsunit)
-   min_logblks = roundup(BTOBB(max_logres), lsunit) + 2 * lsunit;
-   else
+   if (lsunit) {
+   min_logblks = roundup_64(BTOBB(max_logres), lsunit) +
+ 2 * lsunit;
+   } else
min_logblks = BTOBB(max_logres) + 2 * BBSIZE;
min_logblks *= XFS_MIN_LOG_FACTOR;
+
return XFS_BB_TO_FSB(mp, min_logblks);
 }
-- 

-Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
> Files attached.

Can you also please attach a full dmesg so I can check for anything
unusual?

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 7:13 PM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 07:03:44PM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 6:37 PM, Sedat Dilek  wrote:
>> > On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson  
>> > wrote:
>> >> On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
>> >>> On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek  
>> >>> wrote:
>> >>> > I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
>> >>> >
>> >>> > 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
>> >>> > commit 5456fe3882812aba251886e36fe55bfefb8e8829
>> >>> > Author: Chris Wilson 
>> >>> > Date:   Thu Aug 8 14:41:07 2013 +0100
>> >>> >
>> >>> > drm/i915: Allocate LLC ringbuffers from stolen
>> >>> >
>> >>> > As stolen objects now behave identically (wrt to default LLC 
>> >>> > cacheing)
>> >>> > as their normal system counterparts, we no longer have to 
>> >>> > differentiate
>> >>> > our usage for ringbuffers. So allocate them from stolen on SNB+ as 
>> >>> > well.
>> >>> >
>> >>> > Signed-off-by: Chris Wilson 
>> >>> > Reviewed-by: Ville Syrjälä 
>> >>> > Signed-off-by: Daniel Vetter 
>> >>> >
>> >>> > :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
>> >>> > 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
>> >>> >
>> >>> > See also attached files!
>> >>> >
>> >>>
>> >>> With the attached revert-patch my system is OK (with my customized X 
>> >>> stack).
>> >>
>> >> No indication of a GPU hang? I'm puzzled as to how this ends up with the
>> >> scanout being misread.
>> >>
>> >> cat /sys/kernel/debug/dri/0/i915_gem_stolen
>> >> cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
>> >>
>> >> would be interesting.
>
>> Attached both outputs with GOOD and BAD (BROKEN) kernel.
>
> ggtt offset is the same for both setups, the only difference between the
> two is the location of fbcon in stolen memory.
>
> Can you please attach the output of intel_reg_dumper for good/bad? It's
> a long shot...
>
> Speaking of long shots, try this (slightly different to the earlier patch):
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c 
> b/drivers/gpu/drm/i915/intel_display.c
> index a21f935..37ad772 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -1850,6 +1850,9 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
> BUG();
> }
>
> +   if (obj->stolen && INTEL_INFO(dev)->gen >= 6)
> +   alignment = 256 * 1024;
> +
> /* Note that the w/a also requires 64 PTE of padding following the
>  * bo. We currently fill all unused PTE with the shadow page and so
>  * we should always have valid PTE following the scanout preventing
>
>
> --

Files attached.

- Sedat -
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 88010c54fe40: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
0008, size: 00408000) (stolen: 0006) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 88010c54fcc0: pXg  
   5120KiB 36 02 -591 -591 0 uncached dirty (name: 3) (pinned x 1) (display) 
(fence: 0) (ggtt offset: 00488000, size: 0050) (p mappable) (blitter ring)
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 880073fca200: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
0008, size: 00408000) (stolen: ) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 880118928b40: pXg  
   5120KiB 36 02 -12 -12 0 uncached dirty (name: 3) (pinned x 1) (display) 
(fence: 0) (ggtt offset: 00488000, size: 0050) (p mappable) (blitter ring)
Stolen:
   880072c39c80: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 1000, size: 0002) (stolen: ) (p mappable)
   880072c39800: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00023000, size: 0002) (stolen: 0002) (p mappable)
   880072c39500: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00044000, size: 0002) (stolen: 0004) (p mappable)
   88010c54fe40: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 0008, size: 00408000) (stolen: 0006) (p 
mappable)
Total 4 objects, 4620288 bytes, 4620288 GTT size
Stolen:
   880073fca200: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 0008, size: 00408000) (stolen: ) (p 
mappable)
Total 1 objects, 4227072 bytes, 4227072 GTT size


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 07:03:44PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 6:37 PM, Sedat Dilek  wrote:
> > On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson  
> > wrote:
> >> On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
> >>> On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek  
> >>> wrote:
> >>> > I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
> >>> >
> >>> > 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
> >>> > commit 5456fe3882812aba251886e36fe55bfefb8e8829
> >>> > Author: Chris Wilson 
> >>> > Date:   Thu Aug 8 14:41:07 2013 +0100
> >>> >
> >>> > drm/i915: Allocate LLC ringbuffers from stolen
> >>> >
> >>> > As stolen objects now behave identically (wrt to default LLC 
> >>> > cacheing)
> >>> > as their normal system counterparts, we no longer have to 
> >>> > differentiate
> >>> > our usage for ringbuffers. So allocate them from stolen on SNB+ as 
> >>> > well.
> >>> >
> >>> > Signed-off-by: Chris Wilson 
> >>> > Reviewed-by: Ville Syrjälä 
> >>> > Signed-off-by: Daniel Vetter 
> >>> >
> >>> > :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
> >>> > 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
> >>> >
> >>> > See also attached files!
> >>> >
> >>>
> >>> With the attached revert-patch my system is OK (with my customized X 
> >>> stack).
> >>
> >> No indication of a GPU hang? I'm puzzled as to how this ends up with the
> >> scanout being misread.
> >>
> >> cat /sys/kernel/debug/dri/0/i915_gem_stolen
> >> cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
> >>
> >> would be interesting.

> Attached both outputs with GOOD and BAD (BROKEN) kernel.

ggtt offset is the same for both setups, the only difference between the
two is the location of fbcon in stolen memory.

Can you please attach the output of intel_reg_dumper for good/bad? It's
a long shot...

Speaking of long shots, try this (slightly different to the earlier patch):

diff --git a/drivers/gpu/drm/i915/intel_display.c 
b/drivers/gpu/drm/i915/intel_display.c
index a21f935..37ad772 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1850,6 +1850,9 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
BUG();
}
 
+   if (obj->stolen && INTEL_INFO(dev)->gen >= 6)
+   alignment = 256 * 1024;
+
/* Note that the w/a also requires 64 PTE of padding following the
 * bo. We currently fill all unused PTE with the shadow page and so
 * we should always have valid PTE following the scanout preventing


-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 6:37 PM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson  
> wrote:
>> On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
>>> On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek  wrote:
>>> > I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
>>> >
>>> > 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
>>> > commit 5456fe3882812aba251886e36fe55bfefb8e8829
>>> > Author: Chris Wilson 
>>> > Date:   Thu Aug 8 14:41:07 2013 +0100
>>> >
>>> > drm/i915: Allocate LLC ringbuffers from stolen
>>> >
>>> > As stolen objects now behave identically (wrt to default LLC cacheing)
>>> > as their normal system counterparts, we no longer have to 
>>> > differentiate
>>> > our usage for ringbuffers. So allocate them from stolen on SNB+ as 
>>> > well.
>>> >
>>> > Signed-off-by: Chris Wilson 
>>> > Reviewed-by: Ville Syrjälä 
>>> > Signed-off-by: Daniel Vetter 
>>> >
>>> > :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
>>> > 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
>>> >
>>> > See also attached files!
>>> >
>>>
>>> With the attached revert-patch my system is OK (with my customized X stack).
>>
>> No indication of a GPU hang? I'm puzzled as to how this ends up with the
>> scanout being misread.
>>
>> cat /sys/kernel/debug/dri/0/i915_gem_stolen
>> cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
>>
>> would be interesting.
>
> With revert-patch applied:
>
> $ sudo cat /sys/kernel/debug/dri/0/i915_gem_stolen
> Stolen:
>88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
> (pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
> (stolen: ) (p mappable)
> Total 1 objects, 4227072 bytes, 4227072 GTT size
>
> $ sudo cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
> fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj
> 88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
> (pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
> (stolen: ) (p mappable)
> user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj
> 88007f6f5080: pXg 5120KiB 36 02 124873 124873 0 uncached dirty
> (name: 3) (pinned x 1) (display) (fence: 0) (ggtt offset: 0047a000,
> size: 0050) (p mappable) (blitter ring)
>

Attached both outputs with GOOD and BAD (BROKEN) kernel.

- Sedat -
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 880074492e40: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
00072000, size: 00408000) (stolen: ) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 880074492840: pXg  
   5120KiB 36 02 158126 158126 0 uncached dirty (name: 3) (pinned x 1) 
(display) (fence: 0) (ggtt offset: 0047a000, size: 0050) (p mappable) 
(blitter ring)
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 880073995200: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
00072000, size: 00408000) (stolen: 0006) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 8800736d8e00: pXg  
   5120KiB 36 02 -737 -737 0 uncached dirty (name: 3) (pinned x 1) (display) 
(fence: 0) (ggtt offset: 0047a000, size: 0050) (p mappable) (blitter ring)
Stolen:
   880074492e40: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 00072000, size: 00408000) (stolen: ) (p 
mappable)
Total 1 objects, 4227072 bytes, 4227072 GTT size
Stolen:
   880073995c80: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 1000, size: 0002) (stolen: ) (p mappable)
   880073995800: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00023000, size: 0002) (stolen: 0002) (p mappable)
   880073995500: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00044000, size: 0002) (stolen: 0004) (p mappable)
   880073995200: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 00072000, size: 00408000) (stolen: 0006) (p 
mappable)
Total 4 objects, 4620288 bytes, 4620288 GTT size


Re: linux-next: Tree for Aug 13 (xfs)

2013-08-13 Thread Randy Dunlap
On 08/13/13 01:28, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20130812:
> 

on i386:

fs/built-in.o: In function `xfs_log_calc_minimum_size':
(.text+0x1797a9): undefined reference to `__udivdi3'


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek  wrote:
>> > I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
>> >
>> > 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
>> > commit 5456fe3882812aba251886e36fe55bfefb8e8829
>> > Author: Chris Wilson 
>> > Date:   Thu Aug 8 14:41:07 2013 +0100
>> >
>> > drm/i915: Allocate LLC ringbuffers from stolen
>> >
>> > As stolen objects now behave identically (wrt to default LLC cacheing)
>> > as their normal system counterparts, we no longer have to differentiate
>> > our usage for ringbuffers. So allocate them from stolen on SNB+ as 
>> > well.
>> >
>> > Signed-off-by: Chris Wilson 
>> > Reviewed-by: Ville Syrjälä 
>> > Signed-off-by: Daniel Vetter 
>> >
>> > :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
>> > 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
>> >
>> > See also attached files!
>> >
>>
>> With the attached revert-patch my system is OK (with my customized X stack).
>
> No indication of a GPU hang? I'm puzzled as to how this ends up with the
> scanout being misread.
>
> cat /sys/kernel/debug/dri/0/i915_gem_stolen
> cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
>
> would be interesting.

With revert-patch applied:

$ sudo cat /sys/kernel/debug/dri/0/i915_gem_stolen
Stolen:
   88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
(pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
(stolen: ) (p mappable)
Total 1 objects, 4227072 bytes, 4227072 GTT size

$ sudo cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj
88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
(pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
(stolen: ) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj
88007f6f5080: pXg 5120KiB 36 02 124873 124873 0 uncached dirty
(name: 3) (pinned x 1) (display) (fence: 0) (ggtt offset: 0047a000,
size: 0050) (p mappable) (blitter ring)

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek  wrote:
> > I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
> >
> > 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
> > commit 5456fe3882812aba251886e36fe55bfefb8e8829
> > Author: Chris Wilson 
> > Date:   Thu Aug 8 14:41:07 2013 +0100
> >
> > drm/i915: Allocate LLC ringbuffers from stolen
> >
> > As stolen objects now behave identically (wrt to default LLC cacheing)
> > as their normal system counterparts, we no longer have to differentiate
> > our usage for ringbuffers. So allocate them from stolen on SNB+ as well.
> >
> > Signed-off-by: Chris Wilson 
> > Reviewed-by: Ville Syrjälä 
> > Signed-off-by: Daniel Vetter 
> >
> > :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
> > 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
> >
> > See also attached files!
> >
> 
> With the attached revert-patch my system is OK (with my customized X stack).

No indication of a GPU hang? I'm puzzled as to how this ends up with the
scanout being misread.

cat /sys/kernel/debug/dri/0/i915_gem_stolen
cat /sys/kernel/debug/dri/0/i915_gem_framebuffer

would be interesting.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 4:45 PM, Sedat Dilek  wrote:
>> On Tue, Aug 13, 2013 at 4:07 PM, Sedat Dilek  wrote:
>>> On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek  wrote:
 On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson  
 wrote:
> On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson 
>>  wrote:
>> > On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
>> >> After a logout from my "BROKEN" Unity-2D session - the login-screen
>> >> for LightDM seems to be OK.
>> >> Then entering my Unity-2D desktop is OK - no screen corruptions.
>> >
>> > What hardware and display do you have?
>>
>> It's a Samsung ultrabook with SandyBridge CPU.
>>
>> [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
>> Graphics 3000
>
> using LVDS.
>
>> - Sedat -
>>
>> P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.
>
> Did that make a difference? It shouldn't if the error is occuring before
> X even starts...

 NO, was just confused not seeing "GT2" (HD-3000 was new to me) in my
 Xorg.log :-).

 As said logging out of Unity-2D and entering LightDM greeter - screen is 
 fine.
 Starting again a Unity-2D session - no screen corruption, too.

 - Sedat -
>>>
>>> Some more testing:
>>>
>>> [1] With my X stack:
>>>
>>> FIRST BAD: next-20130812
>>> LAST GOOD: next-20130809
>>>
>>> [2] With Ubuntu's X stack:
>>>
>>> next-20130813 is OK (Xorg.log attached)
>>>
>>
>> drm-intel-nightly is also BAD with my X stack (with Ubuntu's X stack
>> no problems).
>>
>
> I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
>
> 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
> commit 5456fe3882812aba251886e36fe55bfefb8e8829
> Author: Chris Wilson 
> Date:   Thu Aug 8 14:41:07 2013 +0100
>
> drm/i915: Allocate LLC ringbuffers from stolen
>
> As stolen objects now behave identically (wrt to default LLC cacheing)
> as their normal system counterparts, we no longer have to differentiate
> our usage for ringbuffers. So allocate them from stolen on SNB+ as well.
>
> Signed-off-by: Chris Wilson 
> Reviewed-by: Ville Syrjälä 
> Signed-off-by: Daniel Vetter 
>
> :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
> 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
>
> See also attached files!
>

With the attached revert-patch my system is OK (with my customized X stack).

- Sedat -


0001-Revert-drm-i915-Allocate-LLC-ringbuffers-from-stolen.patch
Description: Binary data


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 4:45 PM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 4:07 PM, Sedat Dilek  wrote:
>> On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek  wrote:
>>> On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson  
>>> wrote:
 On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson  
> wrote:
> > On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
> >> After a logout from my "BROKEN" Unity-2D session - the login-screen
> >> for LightDM seems to be OK.
> >> Then entering my Unity-2D desktop is OK - no screen corruptions.
> >
> > What hardware and display do you have?
>
> It's a Samsung ultrabook with SandyBridge CPU.
>
> [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
> Graphics 3000

 using LVDS.

> - Sedat -
>
> P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

 Did that make a difference? It shouldn't if the error is occuring before
 X even starts...
>>>
>>> NO, was just confused not seeing "GT2" (HD-3000 was new to me) in my
>>> Xorg.log :-).
>>>
>>> As said logging out of Unity-2D and entering LightDM greeter - screen is 
>>> fine.
>>> Starting again a Unity-2D session - no screen corruption, too.
>>>
>>> - Sedat -
>>
>> Some more testing:
>>
>> [1] With my X stack:
>>
>> FIRST BAD: next-20130812
>> LAST GOOD: next-20130809
>>
>> [2] With Ubuntu's X stack:
>>
>> next-20130813 is OK (Xorg.log attached)
>>
>
> drm-intel-nightly is also BAD with my X stack (with Ubuntu's X stack
> no problems).
>

I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:

5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
commit 5456fe3882812aba251886e36fe55bfefb8e8829
Author: Chris Wilson 
Date:   Thu Aug 8 14:41:07 2013 +0100

drm/i915: Allocate LLC ringbuffers from stolen

As stolen objects now behave identically (wrt to default LLC cacheing)
as their normal system counterparts, we no longer have to differentiate
our usage for ringbuffers. So allocate them from stolen on SNB+ as well.

Signed-off-by: Chris Wilson 
Reviewed-by: Ville Syrjälä 
Signed-off-by: Daniel Vetter 

:04 04 de063a052f39095f4d2f51b49caef9f827df41e8
1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers

See also attached files!

- Sedat -
git bisect start
# good: [d4e4ab86bcba5a72779c43dc1459f71fea3d89c8] Linux 3.11-rc5
git bisect good d4e4ab86bcba5a72779c43dc1459f71fea3d89c8
# bad: [5b79c8eb1b61d499ca70cc3e4e2ced7822209876] Merge branch 
'drm-intel-nightly' into 3.11.0-rc5-iniza-small
git bisect bad 5b79c8eb1b61d499ca70cc3e4e2ced7822209876
# good: [36f2d1f151215c48d902947d64b86dc5ab277e19] drm/i915: rip out legacy 
encoder->mode_set callback
git bisect good 36f2d1f151215c48d902947d64b86dc5ab277e19
# good: [c35426d2bc25b242ee2a9a7a1d62634be1e86bb0] drm/i915: Split plane 
watermark parameters into a separate struct
git bisect good c35426d2bc25b242ee2a9a7a1d62634be1e86bb0
# good: [32c913e4369ce7bd1d16a9b6983f7b8975c13f5a] Merge tag 
'drm-intel-next-2013-07-26-fixed' of 
git://people.freedesktop.org/~danvet/drm-intel into drm-next
git bisect good 32c913e4369ce7bd1d16a9b6983f7b8975c13f5a
# good: [d46f1c3f1372e3a72fab97c60480aa4a1084387f] drm/i915: Allow the GPU to 
cache stolen memory
git bisect good d46f1c3f1372e3a72fab97c60480aa4a1084387f
# bad: [b8a1868b10bb4fe7fb7d283da5d56064b1a189f4] drm/i915: Allow the user to 
set bo into the DISPLAY cache domain
git bisect bad b8a1868b10bb4fe7fb7d283da5d56064b1a189f4
# bad: [a698a20e8cf9a946b0a491cb58ff96c0b4332d08] i915: Fix SDVO potentially 
turning off randomly
git bisect bad a698a20e8cf9a946b0a491cb58ff96c0b4332d08
# bad: [8d2d9e6517d95d2bfa35dfa650330cf0b591d7e1] drm/i915: Only do a chipset 
flush after a clflush
git bisect bad 8d2d9e6517d95d2bfa35dfa650330cf0b591d7e1
# bad: [5456fe3882812aba251886e36fe55bfefb8e8829] drm/i915: Allocate LLC 
ringbuffers from stolen
git bisect bad 5456fe3882812aba251886e36fe55bfefb8e8829
# first bad commit: [5456fe3882812aba251886e36fe55bfefb8e8829] drm/i915: 
Allocate LLC ringbuffers from stolen
commit 5456fe3882812aba251886e36fe55bfefb8e8829
Author: Chris Wilson 
Date:   Thu Aug 8 14:41:07 2013 +0100

drm/i915: Allocate LLC ringbuffers from stolen

As stolen objects now behave identically (wrt to default LLC cacheing)
as their normal system counterparts, we no longer have to differentiate
our usage for ringbuffers. So allocate them from stolen on SNB+ as well.

Signed-off-by: Chris Wilson 
Reviewed-by: Ville Syrjälä 
Signed-off-by: Daniel Vetter 

 drivers/gpu/drm/i915/intel_ringbuffer.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
commit 5456fe3882812aba251886e36fe55bfefb8e8829
Author: Chris Wilson 
Date:   Thu Aug 8 14:41:07 2013 +0100

drm/i915: Allocate LLC ringbuffers from stolen

As stolen objects now behave identically (wrt to default LLC cacheing)

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 4:07 PM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek  wrote:
>> On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson  
>> wrote:
>>> On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson  
 wrote:
 > On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
 >> After a logout from my "BROKEN" Unity-2D session - the login-screen
 >> for LightDM seems to be OK.
 >> Then entering my Unity-2D desktop is OK - no screen corruptions.
 >
 > What hardware and display do you have?

 It's a Samsung ultrabook with SandyBridge CPU.

 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000
>>>
>>> using LVDS.
>>>
 - Sedat -

 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.
>>>
>>> Did that make a difference? It shouldn't if the error is occuring before
>>> X even starts...
>>
>> NO, was just confused not seeing "GT2" (HD-3000 was new to me) in my
>> Xorg.log :-).
>>
>> As said logging out of Unity-2D and entering LightDM greeter - screen is 
>> fine.
>> Starting again a Unity-2D session - no screen corruption, too.
>>
>> - Sedat -
>
> Some more testing:
>
> [1] With my X stack:
>
> FIRST BAD: next-20130812
> LAST GOOD: next-20130809
>
> [2] With Ubuntu's X stack:
>
> next-20130813 is OK (Xorg.log attached)
>

drm-intel-nightly is also BAD with my X stack (with Ubuntu's X stack
no problems).

- Sedat -

> - Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson  
> wrote:
>> On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
>>> On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson  
>>> wrote:
>>> > On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
>>> >> After a logout from my "BROKEN" Unity-2D session - the login-screen
>>> >> for LightDM seems to be OK.
>>> >> Then entering my Unity-2D desktop is OK - no screen corruptions.
>>> >
>>> > What hardware and display do you have?
>>>
>>> It's a Samsung ultrabook with SandyBridge CPU.
>>>
>>> [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
>>> Graphics 3000
>>
>> using LVDS.
>>
>>> - Sedat -
>>>
>>> P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.
>>
>> Did that make a difference? It shouldn't if the error is occuring before
>> X even starts...
>
> NO, was just confused not seeing "GT2" (HD-3000 was new to me) in my
> Xorg.log :-).
>
> As said logging out of Unity-2D and entering LightDM greeter - screen is fine.
> Starting again a Unity-2D session - no screen corruption, too.
>
> - Sedat -

Some more testing:

[1] With my X stack:

FIRST BAD: next-20130812
LAST GOOD: next-20130809

[2] With Ubuntu's X stack:

next-20130813 is OK (Xorg.log attached)

- Sedat -


Xorg.0.log
Description: Binary data


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
>> On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson  
>> wrote:
>> > On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
>> >> After a logout from my "BROKEN" Unity-2D session - the login-screen
>> >> for LightDM seems to be OK.
>> >> Then entering my Unity-2D desktop is OK - no screen corruptions.
>> >
>> > What hardware and display do you have?
>>
>> It's a Samsung ultrabook with SandyBridge CPU.
>>
>> [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
>> Graphics 3000
>
> using LVDS.
>
>> - Sedat -
>>
>> P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.
>
> Did that make a difference? It shouldn't if the error is occuring before
> X even starts...

NO, was just confused not seeing "GT2" (HD-3000 was new to me) in my
Xorg.log :-).

As said logging out of Unity-2D and entering LightDM greeter - screen is fine.
Starting again a Unity-2D session - no screen corruption, too.

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
> On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson  
> wrote:
> > On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
> >> After a logout from my "BROKEN" Unity-2D session - the login-screen
> >> for LightDM seems to be OK.
> >> Then entering my Unity-2D desktop is OK - no screen corruptions.
> >
> > What hardware and display do you have?
> 
> It's a Samsung ultrabook with SandyBridge CPU.
> 
> [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
> Graphics 3000

using LVDS.
 
> - Sedat -
> 
> P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

Did that make a difference? It shouldn't if the error is occuring before
X even starts...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
>> After a logout from my "BROKEN" Unity-2D session - the login-screen
>> for LightDM seems to be OK.
>> Then entering my Unity-2D desktop is OK - no screen corruptions.
>
> What hardware and display do you have?

It's a Samsung ultrabook with SandyBridge CPU.

[   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
Graphics 3000

xrand output attached.

- Sedat -

P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (0x45) normal (normal left inverted right x axis y 
axis) 0mm x 0mm
Identifier: 0x41
Timestamp:  339571
Subpixel:   horizontal rgb
Gamma:  1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC:   0
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
BACKLIGHT: 7 (0x0007)   range:  (0,7)
Backlight: 7 (0x0007)   range:  (0,7)
scaling mode:   Full aspect
supported: None Full Center   Full aspect 
  1366x768 (0x45)   70.7MHz -HSync -VSync *current +preferred
h: width  1366 start 1414 end 1446 total 1486 skew0 clock   47.6KHz
v: height  768 start  770 end  775 total  792   clock   60.1Hz
  1360x768 (0x46)   84.8MHz -HSync +VSync
h: width  1360 start 1432 end 1568 total 1776 skew0 clock   47.7KHz
v: height  768 start  771 end  781 total  798   clock   59.8Hz
  1360x768 (0x47)   72.0MHz +HSync -VSync
h: width  1360 start 1408 end 1440 total 1520 skew0 clock   47.4KHz
v: height  768 start  771 end  781 total  790   clock   60.0Hz
  1024x768 (0x48)   65.0MHz -HSync -VSync
h: width  1024 start 1048 end 1184 total 1344 skew0 clock   48.4KHz
v: height  768 start  771 end  777 total  806   clock   60.0Hz
  800x600 (0x49)   40.0MHz +HSync +VSync
h: width   800 start  840 end  968 total 1056 skew0 clock   37.9KHz
v: height  600 start  601 end  605 total  628   clock   60.3Hz
  800x600 (0x4a)   36.0MHz +HSync +VSync
h: width   800 start  824 end  896 total 1024 skew0 clock   35.2KHz
v: height  600 start  601 end  603 total  625   clock   56.2Hz
  640x480 (0x4b)   25.2MHz -HSync -VSync
h: width   640 start  656 end  752 total  800 skew0 clock   31.5KHz
v: height  480 start  490 end  492 total  525   clock   59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x42
Timestamp:  339571
Subpixel:   unknown
Clones:
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
HDMI1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp:  339571
Subpixel:   unknown
Clones:
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
Broadcast RGB:  Automatic
supported: AutomaticFull Limited 16:2
audio:  auto
supported: force-dvioff  auto on  
DP1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x44
Timestamp:  339571
Subpixel:   unknown
Clones:
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
Broadcast RGB:  Automatic
supported: AutomaticFull Limited 16:2
audio:  auto
supported: force-dvioff  auto on  


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
> After a logout from my "BROKEN" Unity-2D session - the login-screen
> for LightDM seems to be OK.
> Then entering my Unity-2D desktop is OK - no screen corruptions.

What hardware and display do you have?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:25 AM, Chris Wilson  wrote:
> On Tue, Aug 13, 2013 at 11:10:18AM +0200, Sedat Dilek wrote:
>> Hi,
>>
>> with today's next-20130813 I cannot see 1/10 of my desktop-screen's
>> top, it's simply black.
>> I can estimate the URL line in Firefox (or open a new tab blindly and
>> get a known URL from my autocompleted history).
>
> Can you attach a photograph?
>

It's a black bar on the top of my desktop-screen - approx. 1/10.

It looks like this is also in the VT on bootup before entering LightDM.

>> My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
>> next-20130808 was OK - no screen corruptions.
>>
>> Any idea, hint?
>
> Can you please try:
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c 
> b/drivers/gpu/drm/i915/intel_display.c
> index af1b2f0..b0f181d 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -1837,7 +1837,7 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
> break;
> case I915_TILING_X:
> /* pin() will align the object as required by fence */
> -   alignment = 0;
> +   alignment = 256 * 1024;
> break;
> case I915_TILING_Y:
> /* Despite that we check this in framebuffer_init userspace 
> can
>
> --

NO, that did not help.

After a logout from my "BROKEN" Unity-2D session - the login-screen
for LightDM seems to be OK.
Then entering my Unity-2D desktop is OK - no screen corruptions.

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:10:18AM +0200, Sedat Dilek wrote:
> Hi,
> 
> with today's next-20130813 I cannot see 1/10 of my desktop-screen's
> top, it's simply black.
> I can estimate the URL line in Firefox (or open a new tab blindly and
> get a known URL from my autocompleted history).

Can you attach a photograph?
 
> My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
> next-20130808 was OK - no screen corruptions.
> 
> Any idea, hint?

Can you please try:

diff --git a/drivers/gpu/drm/i915/intel_display.c 
b/drivers/gpu/drm/i915/intel_display.c
index af1b2f0..b0f181d 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1837,7 +1837,7 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
break;
case I915_TILING_X:
/* pin() will align the object as required by fence */
-   alignment = 0;
+   alignment = 256 * 1024;
break;
case I915_TILING_Y:
/* Despite that we check this in framebuffer_init userspace can

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:14 AM, Sedat Dilek  wrote:
> On Tue, Aug 13, 2013 at 11:10 AM, Sedat Dilek  wrote:
>> On Tue, Aug 13, 2013 at 10:28 AM, Stephen Rothwell  
>> wrote:
>>> Hi all,
>>>
>>> Changes since 20130812:
>>>
>>> The ext4 tree gained a conflict against Linus' tree.
>>>
>>> The infiniband tree gained a build failure for which I applied a merge
>>> fix patch and another so I used the version from next-20130812.
>>>
>>> The tty tree gained conflicts against the devicetree and tile trees.
>>>
>>> The usb tree gained a conflict against the net-next tree.
>>>
>>> The usb-gadget tree gained a build failure for which I reverted a commit.
>>>
>>> The ptr-ret tree gained a conflict against the staging tree.
>>>
>>> The akpm tree gained a conflict against the staging tree.
>>>
>>> 
>>>
>>
>> Hi,
>>
>> with today's next-20130813 I cannot see 1/10 of my desktop-screen's
>> top, it's simply black.
>> I can estimate the URL line in Firefox (or open a new tab blindly and
>> get a known URL from my autocompleted history).
>>
>> My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
>> next-20130808 was OK - no screen corruptions.
>>
>> Any idea, hint?
>>
>> - Sedat -
>
> [ From my dmesg ]
>
> [   28.026524] [ cut here ]
> [   28.026557] WARNING: CPU: 3 PID: 639 at
> drivers/gpu/drm/i915/i915_gem.c:3435
> i915_gem_object_set_cache_level+0x389/0x3a0 [i915]()
> [   28.026560] Modules linked in: arc4 snd_hwdep i915(+) iwldvm
> snd_pcm snd_page_alloc mac80211 snd_seq_midi parport_pc
> snd_seq_midi_event rfcomm bnep snd_rawmidi ppdev uvcvideo snd_seq
> btusb videobuf2_vmalloc i2c_algo_bit psmouse iwlwifi drm_kms_helper
> videobuf2_memops snd_timer drm snd_seq_device videobuf2_core bluetooth
> videodev serio_raw snd cfg80211 samsung_laptop wmi soundcore lp
> mac_hid video lpc_ich parport hid_generic usbhid hid usb_storage r8169
> mii
> [   28.026610] CPU: 3 PID: 639 Comm: modprobe Not tainted
> 3.11.0-rc5-next20130813-1-iniza-small #1
> [   28.026613] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
> 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
> [   28.026616]  0d6b 8800795535a8 816e259a
> 0007
> [   28.026622]   8800795535e8 810661dc
> 81376e70
> [   28.026627]  8800746ba200 8800746ba2b8 88007a2c7000
> 0041
> [   28.026632] Call Trace:
> [   28.026641]  [] dump_stack+0x46/0x58
> [   28.026647]  [] warn_slowpath_common+0x8c/0xc0
> [   28.026653]  [] ? sg_kfree+0x30/0x30
> [   28.026658]  [] warn_slowpath_null+0x1a/0x20
> [   28.026680]  []
> i915_gem_object_set_cache_level+0x389/0x3a0 [i915]
> [   28.026684]  [] ? sg_alloc_table+0x1f/0x50
> [   28.026703]  []
> i915_gem_object_pin_to_display_plane+0x62/0x1c0 [i915]
> [   28.026727]  []
> intel_pin_and_fence_fb_obj+0xc0/0x140 [i915]
> [   28.026732]  [] ? mutex_lock+0x1e/0x40
> [   28.026761]  [] intelfb_create+0x107/0x510 [i915]
> [   28.026778]  [] ? drm_mode_create+0x47/0x70 [drm]
> [   28.026786]  []
> drm_fb_helper_initial_config+0x2fe/0x550 [drm_kms_helper]
> [   28.026813]  [] ? i915_write32+0xc3/0x190 [i915]
> [   28.026838]  [] intel_fbdev_initial_config+0x21/0x30 
> [i915]
> [   28.026859]  [] i915_driver_load+0xe9d/0xed0 [i915]
> [   28.026876]  [] drm_get_pci_dev+0x181/0x2a0 [drm]
> [   28.026881]  [] ? do_raw_spin_unlock+0x5d/0xb0
> [   28.026900]  [] i915_pci_probe+0x36/0x70 [i915]
> [   28.026905]  [] local_pci_probe+0x4b/0x80
> [   28.026910]  [] pci_device_probe+0x101/0x120
> [   28.026915]  [] driver_probe_device+0x7b/0x240
> [   28.026920]  [] __driver_attach+0xab/0xb0
> [   28.026924]  [] ? driver_probe_device+0x240/0x240
> [   28.026928]  [] bus_for_each_dev+0x5e/0x90
> [   28.026932]  [] driver_attach+0x1e/0x20
> [   28.026936]  [] bus_add_driver+0x104/0x2a0
> [   28.026941]  [] driver_register+0x64/0xf0
> [   28.026946]  [] __pci_register_driver+0x64/0x70
> [   28.026951]  [] ? 0xa0474fff
> [   28.026963]  [] drm_pci_init+0x11a/0x130 [drm]
> [   28.026968]  [] ? 0xa0474fff
> [   28.026987]  [] i915_init+0x66/0x68 [i915]
> [   28.026992]  [] do_one_initcall+0x4e/0x180
> [   28.026997]  [] ? set_memory_nx+0x43/0x50
> [   28.027003]  [] load_module+0x209c/0x25b0
> [   28.027007]  [] ? show_initstate+0x50/0x50
> [   28.027013]  [] SyS_init_module+0xac/0xd0
> [   28.027018]  [] tracesys+0xe1/0xe6
> [   28.027022] ---[ end trace be830cf8c302dde8 ]---
>
>
> - Sedat -

Looks like there is patch to fix this WARNING, do not think it fixes
my screen corruption.

- Sedat -

http://lists.freedesktop.org/archives/intel-gfx/2013-August/031701.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 10:28 AM, Stephen Rothwell  
wrote:
> Hi all,
>
> Changes since 20130812:
>
> The ext4 tree gained a conflict against Linus' tree.
>
> The infiniband tree gained a build failure for which I applied a merge
> fix patch and another so I used the version from next-20130812.
>
> The tty tree gained conflicts against the devicetree and tile trees.
>
> The usb tree gained a conflict against the net-next tree.
>
> The usb-gadget tree gained a build failure for which I reverted a commit.
>
> The ptr-ret tree gained a conflict against the staging tree.
>
> The akpm tree gained a conflict against the staging tree.
>
> 
>

Hi,

with today's next-20130813 I cannot see 1/10 of my desktop-screen's
top, it's simply black.
I can estimate the URL line in Firefox (or open a new tab blindly and
get a known URL from my autocompleted history).

My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
next-20130808 was OK - no screen corruptions.

Any idea, hint?

- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


linux-next: Tree for Aug 13

2013-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20130812:

The ext4 tree gained a conflict against Linus' tree.

The infiniband tree gained a build failure for which I applied a merge
fix patch and another so I used the version from next-20130812.

The tty tree gained conflicts against the devicetree and tile trees.

The usb tree gained a conflict against the net-next tree.

The usb-gadget tree gained a build failure for which I reverted a commit.

The ptr-ret tree gained a conflict against the staging tree.

The akpm tree gained a conflict against the staging tree.



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" as mentioned in the FAQ on the wiki
(see below).

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log files
in the Next directory.  Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64. After the
final fixups (if any), it is also built with powerpc allnoconfig (32 and
64 bit), ppc44x_defconfig and allyesconfig (minus
CONFIG_PROFILE_ALL_BRANCHES - this fails its final link) and i386, sparc,
sparc64 and arm defconfig. These builds also have
CONFIG_ENABLE_WARN_DEPRECATED, CONFIG_ENABLE_MUST_CHECK and
CONFIG_DEBUG_INFO disabled when necessary.

Below is a summary of the state of the merge.

We are up to 222 trees (counting Linus' and 30 trees of patches pending
for Linus' tree), more are welcome (even if they are currently empty).
Thanks to those who have contributed, and to those who haven't, please do.

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ .  Thanks to Frank Seidel.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (584d88b Merge branch 'for-next' of 
git://git.samba.org/sfrench/cifs-2.6)
Merging fixes/master (b3a3a9c Merge tag 'trace-3.11-rc2' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace)
Merging kbuild-current/rc-fixes (ad81f05 Linux 3.11-rc1)
Merging arc-current/for-curr (c095ba7 Linux 3.11-rc4)
Merging arm-current/fixes (e35ac62 Merge branch 'security-fixes' into fixes)
Merging m68k-current/for-linus (ad81f05 Linux 3.11-rc1)
Merging metag-fixes/fixes (dfe248b MAINTAINERS: add linux-metag mailing list)
Merging powerpc-merge/merge (28e61cc powerpc/tm: Fix context switching TAR, PPR 
and DSCR SPRs)
Merging sparc/master (1c2696c sparc64: Fix ITLB handler of null page)
Merging net/master (d4cca39 tipc: avoid possible deadlock while enable and 
disable bearer)
Merging ipsec/master (01cb71d net_sched: restore "overhead xxx" handling)
Merging sound-current/for-linus (140d37d ALSA: usb-audio: Fix invalid volume 
resolution for Logitech HD Webcam C525)
Merging pci-current/for-linus (36dd1f3 PCI: mvebu: Disable prefetchable memory 
support in PCI-to-PCI bridge)
Merging wireless/master (909bd59 Hostap: copying wrong data 
prism2_ioctl_giwaplist())
Merging driver-core.current/driver-core-linus (5ae90d8 Linux 3.11-rc3)
Merging tty.current/tty-linus (c095ba7 Linux 3.11-rc4)
Merging usb.current/usb-linus (e877dd2 USB: ti_usb_3410_5052: fix big-endian 
firmware handling)
Merging staging.current/staging-linus (d4e4ab8 Linux 3.11-rc5)
Merging char-misc.current/char-misc-linus (5ae90d8 Linux 3.11-rc3)
Merging input-current/for-linus (88ce3c3 Merge branch 'next' into for-linus)
Merging md-current/for-linus (f94c0b6 md/raid5: fix interaction of 'replace' 
and 'recovery'.)
Merging audit-current/for-linus (c158a35 audit: no leading space in 
audit_log_d_path prefix)
Merging crypto-current/master (e70308e Revert "crypto: crct10dif - Wrap 
crc_t10dif function all to use crypto transform framework")
Merging ide/master (6d128e1 Revert "Makefile: Fix install error with make -j 
option")
Merging dwmw2/master (5950f08 pcmcia: remove RPX board stuff)
Merging sh-current/sh-fixes-for-linus (4403310 SH: Convert out[bwl] macros to 
inline functions)
Merging devicetree-current/devicetree/merge (cf9e236 of/irq: init struct 
resource to 0 in of_irq_to_resource())
Merging rr-fixes/fixes (6c2580c Merge branch 'for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32)
Merging mfd-fixes/master (5649d8f mfd: ab8500-sysctrl: Let sysctrl driver 

linux-next: Tree for Aug 13

2013-08-13 Thread Stephen Rothwell
Hi all,

Changes since 20130812:

The ext4 tree gained a conflict against Linus' tree.

The infiniband tree gained a build failure for which I applied a merge
fix patch and another so I used the version from next-20130812.

The tty tree gained conflicts against the devicetree and tile trees.

The usb tree gained a conflict against the net-next tree.

The usb-gadget tree gained a build failure for which I reverted a commit.

The ptr-ret tree gained a conflict against the staging tree.

The akpm tree gained a conflict against the staging tree.



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use git pull
to do so as that will try to merge the new linux-next release with the
old one.  You should use git fetch as mentioned in the FAQ on the wiki
(see below).

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log files
in the Next directory.  Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64. After the
final fixups (if any), it is also built with powerpc allnoconfig (32 and
64 bit), ppc44x_defconfig and allyesconfig (minus
CONFIG_PROFILE_ALL_BRANCHES - this fails its final link) and i386, sparc,
sparc64 and arm defconfig. These builds also have
CONFIG_ENABLE_WARN_DEPRECATED, CONFIG_ENABLE_MUST_CHECK and
CONFIG_DEBUG_INFO disabled when necessary.

Below is a summary of the state of the merge.

We are up to 222 trees (counting Linus' and 30 trees of patches pending
for Linus' tree), more are welcome (even if they are currently empty).
Thanks to those who have contributed, and to those who haven't, please do.

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ .  Thanks to Frank Seidel.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (584d88b Merge branch 'for-next' of 
git://git.samba.org/sfrench/cifs-2.6)
Merging fixes/master (b3a3a9c Merge tag 'trace-3.11-rc2' of 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace)
Merging kbuild-current/rc-fixes (ad81f05 Linux 3.11-rc1)
Merging arc-current/for-curr (c095ba7 Linux 3.11-rc4)
Merging arm-current/fixes (e35ac62 Merge branch 'security-fixes' into fixes)
Merging m68k-current/for-linus (ad81f05 Linux 3.11-rc1)
Merging metag-fixes/fixes (dfe248b MAINTAINERS: add linux-metag mailing list)
Merging powerpc-merge/merge (28e61cc powerpc/tm: Fix context switching TAR, PPR 
and DSCR SPRs)
Merging sparc/master (1c2696c sparc64: Fix ITLB handler of null page)
Merging net/master (d4cca39 tipc: avoid possible deadlock while enable and 
disable bearer)
Merging ipsec/master (01cb71d net_sched: restore overhead xxx handling)
Merging sound-current/for-linus (140d37d ALSA: usb-audio: Fix invalid volume 
resolution for Logitech HD Webcam C525)
Merging pci-current/for-linus (36dd1f3 PCI: mvebu: Disable prefetchable memory 
support in PCI-to-PCI bridge)
Merging wireless/master (909bd59 Hostap: copying wrong data 
prism2_ioctl_giwaplist())
Merging driver-core.current/driver-core-linus (5ae90d8 Linux 3.11-rc3)
Merging tty.current/tty-linus (c095ba7 Linux 3.11-rc4)
Merging usb.current/usb-linus (e877dd2 USB: ti_usb_3410_5052: fix big-endian 
firmware handling)
Merging staging.current/staging-linus (d4e4ab8 Linux 3.11-rc5)
Merging char-misc.current/char-misc-linus (5ae90d8 Linux 3.11-rc3)
Merging input-current/for-linus (88ce3c3 Merge branch 'next' into for-linus)
Merging md-current/for-linus (f94c0b6 md/raid5: fix interaction of 'replace' 
and 'recovery'.)
Merging audit-current/for-linus (c158a35 audit: no leading space in 
audit_log_d_path prefix)
Merging crypto-current/master (e70308e Revert crypto: crct10dif - Wrap 
crc_t10dif function all to use crypto transform framework)
Merging ide/master (6d128e1 Revert Makefile: Fix install error with make -j 
option)
Merging dwmw2/master (5950f08 pcmcia: remove RPX board stuff)
Merging sh-current/sh-fixes-for-linus (4403310 SH: Convert out[bwl] macros to 
inline functions)
Merging devicetree-current/devicetree/merge (cf9e236 of/irq: init struct 
resource to 0 in of_irq_to_resource())
Merging rr-fixes/fixes (6c2580c Merge branch 'for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32)
Merging mfd-fixes/master (5649d8f mfd: ab8500-sysctrl: Let sysctrl driver work 

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 10:28 AM, Stephen Rothwell s...@canb.auug.org.au 
wrote:
 Hi all,

 Changes since 20130812:

 The ext4 tree gained a conflict against Linus' tree.

 The infiniband tree gained a build failure for which I applied a merge
 fix patch and another so I used the version from next-20130812.

 The tty tree gained conflicts against the devicetree and tile trees.

 The usb tree gained a conflict against the net-next tree.

 The usb-gadget tree gained a build failure for which I reverted a commit.

 The ptr-ret tree gained a conflict against the staging tree.

 The akpm tree gained a conflict against the staging tree.

 


Hi,

with today's next-20130813 I cannot see 1/10 of my desktop-screen's
top, it's simply black.
I can estimate the URL line in Firefox (or open a new tab blindly and
get a known URL from my autocompleted history).

My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
next-20130808 was OK - no screen corruptions.

Any idea, hint?

- Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:14 AM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:10 AM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 10:28 AM, Stephen Rothwell s...@canb.auug.org.au 
 wrote:
 Hi all,

 Changes since 20130812:

 The ext4 tree gained a conflict against Linus' tree.

 The infiniband tree gained a build failure for which I applied a merge
 fix patch and another so I used the version from next-20130812.

 The tty tree gained conflicts against the devicetree and tile trees.

 The usb tree gained a conflict against the net-next tree.

 The usb-gadget tree gained a build failure for which I reverted a commit.

 The ptr-ret tree gained a conflict against the staging tree.

 The akpm tree gained a conflict against the staging tree.

 


 Hi,

 with today's next-20130813 I cannot see 1/10 of my desktop-screen's
 top, it's simply black.
 I can estimate the URL line in Firefox (or open a new tab blindly and
 get a known URL from my autocompleted history).

 My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
 next-20130808 was OK - no screen corruptions.

 Any idea, hint?

 - Sedat -

 [ From my dmesg ]

 [   28.026524] [ cut here ]
 [   28.026557] WARNING: CPU: 3 PID: 639 at
 drivers/gpu/drm/i915/i915_gem.c:3435
 i915_gem_object_set_cache_level+0x389/0x3a0 [i915]()
 [   28.026560] Modules linked in: arc4 snd_hwdep i915(+) iwldvm
 snd_pcm snd_page_alloc mac80211 snd_seq_midi parport_pc
 snd_seq_midi_event rfcomm bnep snd_rawmidi ppdev uvcvideo snd_seq
 btusb videobuf2_vmalloc i2c_algo_bit psmouse iwlwifi drm_kms_helper
 videobuf2_memops snd_timer drm snd_seq_device videobuf2_core bluetooth
 videodev serio_raw snd cfg80211 samsung_laptop wmi soundcore lp
 mac_hid video lpc_ich parport hid_generic usbhid hid usb_storage r8169
 mii
 [   28.026610] CPU: 3 PID: 639 Comm: modprobe Not tainted
 3.11.0-rc5-next20130813-1-iniza-small #1
 [   28.026613] Hardware name: SAMSUNG ELECTRONICS CO., LTD.
 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013
 [   28.026616]  0d6b 8800795535a8 816e259a
 0007
 [   28.026622]   8800795535e8 810661dc
 81376e70
 [   28.026627]  8800746ba200 8800746ba2b8 88007a2c7000
 0041
 [   28.026632] Call Trace:
 [   28.026641]  [816e259a] dump_stack+0x46/0x58
 [   28.026647]  [810661dc] warn_slowpath_common+0x8c/0xc0
 [   28.026653]  [81376e70] ? sg_kfree+0x30/0x30
 [   28.026658]  [8106622a] warn_slowpath_null+0x1a/0x20
 [   28.026680]  [a03e1fe9]
 i915_gem_object_set_cache_level+0x389/0x3a0 [i915]
 [   28.026684]  [8137723f] ? sg_alloc_table+0x1f/0x50
 [   28.026703]  [a03e2162]
 i915_gem_object_pin_to_display_plane+0x62/0x1c0 [i915]
 [   28.026727]  [a03f9b10]
 intel_pin_and_fence_fb_obj+0xc0/0x140 [i915]
 [   28.026732]  [816e82ee] ? mutex_lock+0x1e/0x40
 [   28.026761]  [a0424277] intelfb_create+0x107/0x510 [i915]
 [   28.026778]  [a020f807] ? drm_mode_create+0x47/0x70 [drm]
 [   28.026786]  [a01a404e]
 drm_fb_helper_initial_config+0x2fe/0x550 [drm_kms_helper]
 [   28.026813]  [a0431323] ? i915_write32+0xc3/0x190 [i915]
 [   28.026838]  [a0424751] intel_fbdev_initial_config+0x21/0x30 
 [i915]
 [   28.026859]  [a03cb38d] i915_driver_load+0xe9d/0xed0 [i915]
 [   28.026876]  [a020aad1] drm_get_pci_dev+0x181/0x2a0 [drm]
 [   28.026881]  [8137b12d] ? do_raw_spin_unlock+0x5d/0xb0
 [   28.026900]  [a03c75d6] i915_pci_probe+0x36/0x70 [i915]
 [   28.026905]  [81399ceb] local_pci_probe+0x4b/0x80
 [   28.026910]  [8139b5c1] pci_device_probe+0x101/0x120
 [   28.026915]  [81478a1b] driver_probe_device+0x7b/0x240
 [   28.026920]  [81478c8b] __driver_attach+0xab/0xb0
 [   28.026924]  [81478be0] ? driver_probe_device+0x240/0x240
 [   28.026928]  [81476b6e] bus_for_each_dev+0x5e/0x90
 [   28.026932]  [8147851e] driver_attach+0x1e/0x20
 [   28.026936]  [81477fc4] bus_add_driver+0x104/0x2a0
 [   28.026941]  [814793f4] driver_register+0x64/0xf0
 [   28.026946]  [8139a544] __pci_register_driver+0x64/0x70
 [   28.026951]  [a0475000] ? 0xa0474fff
 [   28.026963]  [a020ad0a] drm_pci_init+0x11a/0x130 [drm]
 [   28.026968]  [a0475000] ? 0xa0474fff
 [   28.026987]  [a0475066] i915_init+0x66/0x68 [i915]
 [   28.026992]  [8100207e] do_one_initcall+0x4e/0x180
 [   28.026997]  [81058413] ? set_memory_nx+0x43/0x50
 [   28.027003]  [810d147c] load_module+0x209c/0x25b0
 [   28.027007]  [810ce0a0] ? show_initstate+0x50/0x50
 [   28.027013]  [810d1a3c] SyS_init_module+0xac/0xd0
 [   28.027018]  [816f41ef] tracesys+0xe1/0xe6
 [  

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:10:18AM +0200, Sedat Dilek wrote:
 Hi,
 
 with today's next-20130813 I cannot see 1/10 of my desktop-screen's
 top, it's simply black.
 I can estimate the URL line in Firefox (or open a new tab blindly and
 get a known URL from my autocompleted history).

Can you attach a photograph?
 
 My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
 next-20130808 was OK - no screen corruptions.
 
 Any idea, hint?

Can you please try:

diff --git a/drivers/gpu/drm/i915/intel_display.c 
b/drivers/gpu/drm/i915/intel_display.c
index af1b2f0..b0f181d 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1837,7 +1837,7 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
break;
case I915_TILING_X:
/* pin() will align the object as required by fence */
-   alignment = 0;
+   alignment = 256 * 1024;
break;
case I915_TILING_Y:
/* Despite that we check this in framebuffer_init userspace can

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:25 AM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 11:10:18AM +0200, Sedat Dilek wrote:
 Hi,

 with today's next-20130813 I cannot see 1/10 of my desktop-screen's
 top, it's simply black.
 I can estimate the URL line in Firefox (or open a new tab blindly and
 get a known URL from my autocompleted history).

 Can you attach a photograph?


It's a black bar on the top of my desktop-screen - approx. 1/10.

It looks like this is also in the VT on bootup before entering LightDM.

 My Xorg stack did not change: libdrm-2.4.46 | mesa-9.16 | intel-ddx-2.4.14.
 next-20130808 was OK - no screen corruptions.

 Any idea, hint?

 Can you please try:

 diff --git a/drivers/gpu/drm/i915/intel_display.c 
 b/drivers/gpu/drm/i915/intel_display.c
 index af1b2f0..b0f181d 100644
 --- a/drivers/gpu/drm/i915/intel_display.c
 +++ b/drivers/gpu/drm/i915/intel_display.c
 @@ -1837,7 +1837,7 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
 break;
 case I915_TILING_X:
 /* pin() will align the object as required by fence */
 -   alignment = 0;
 +   alignment = 256 * 1024;
 break;
 case I915_TILING_Y:
 /* Despite that we check this in framebuffer_init userspace 
 can

 --

NO, that did not help.

After a logout from my BROKEN Unity-2D session - the login-screen
for LightDM seems to be OK.
Then entering my Unity-2D desktop is OK - no screen corruptions.

- Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
 After a logout from my BROKEN Unity-2D session - the login-screen
 for LightDM seems to be OK.
 Then entering my Unity-2D desktop is OK - no screen corruptions.

What hardware and display do you have?
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
 After a logout from my BROKEN Unity-2D session - the login-screen
 for LightDM seems to be OK.
 Then entering my Unity-2D desktop is OK - no screen corruptions.

 What hardware and display do you have?

It's a Samsung ultrabook with SandyBridge CPU.

[   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
Graphics 3000

xrand output attached.

- Sedat -

P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (0x45) normal (normal left inverted right x axis y 
axis) 0mm x 0mm
Identifier: 0x41
Timestamp:  339571
Subpixel:   horizontal rgb
Gamma:  1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC:   0
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
BACKLIGHT: 7 (0x0007)   range:  (0,7)
Backlight: 7 (0x0007)   range:  (0,7)
scaling mode:   Full aspect
supported: None Full Center   Full aspect 
  1366x768 (0x45)   70.7MHz -HSync -VSync *current +preferred
h: width  1366 start 1414 end 1446 total 1486 skew0 clock   47.6KHz
v: height  768 start  770 end  775 total  792   clock   60.1Hz
  1360x768 (0x46)   84.8MHz -HSync +VSync
h: width  1360 start 1432 end 1568 total 1776 skew0 clock   47.7KHz
v: height  768 start  771 end  781 total  798   clock   59.8Hz
  1360x768 (0x47)   72.0MHz +HSync -VSync
h: width  1360 start 1408 end 1440 total 1520 skew0 clock   47.4KHz
v: height  768 start  771 end  781 total  790   clock   60.0Hz
  1024x768 (0x48)   65.0MHz -HSync -VSync
h: width  1024 start 1048 end 1184 total 1344 skew0 clock   48.4KHz
v: height  768 start  771 end  777 total  806   clock   60.0Hz
  800x600 (0x49)   40.0MHz +HSync +VSync
h: width   800 start  840 end  968 total 1056 skew0 clock   37.9KHz
v: height  600 start  601 end  605 total  628   clock   60.3Hz
  800x600 (0x4a)   36.0MHz +HSync +VSync
h: width   800 start  824 end  896 total 1024 skew0 clock   35.2KHz
v: height  600 start  601 end  603 total  625   clock   56.2Hz
  640x480 (0x4b)   25.2MHz -HSync -VSync
h: width   640 start  656 end  752 total  800 skew0 clock   31.5KHz
v: height  480 start  490 end  492 total  525   clock   59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x42
Timestamp:  339571
Subpixel:   unknown
Clones:
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
HDMI1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x43
Timestamp:  339571
Subpixel:   unknown
Clones:
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
Broadcast RGB:  Automatic
supported: AutomaticFull Limited 16:2
audio:  auto
supported: force-dvioff  auto on  
DP1 disconnected (normal left inverted right x axis y axis)
Identifier: 0x44
Timestamp:  339571
Subpixel:   unknown
Clones:
CRTCs:  0 1
Transform:  1.00 0.00 0.00
0.00 1.00 0.00
0.00 0.00 1.00
   filter: 
Broadcast RGB:  Automatic
supported: AutomaticFull Limited 16:2
audio:  auto
supported: force-dvioff  auto on  


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
  After a logout from my BROKEN Unity-2D session - the login-screen
  for LightDM seems to be OK.
  Then entering my Unity-2D desktop is OK - no screen corruptions.
 
  What hardware and display do you have?
 
 It's a Samsung ultrabook with SandyBridge CPU.
 
 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

using LVDS.
 
 - Sedat -
 
 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

Did that make a difference? It shouldn't if the error is occuring before
X even starts...
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
  After a logout from my BROKEN Unity-2D session - the login-screen
  for LightDM seems to be OK.
  Then entering my Unity-2D desktop is OK - no screen corruptions.
 
  What hardware and display do you have?

 It's a Samsung ultrabook with SandyBridge CPU.

 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

 using LVDS.

 - Sedat -

 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

 Did that make a difference? It shouldn't if the error is occuring before
 X even starts...

NO, was just confused not seeing GT2 (HD-3000 was new to me) in my
Xorg.log :-).

As said logging out of Unity-2D and entering LightDM greeter - screen is fine.
Starting again a Unity-2D session - no screen corruption, too.

- Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
  After a logout from my BROKEN Unity-2D session - the login-screen
  for LightDM seems to be OK.
  Then entering my Unity-2D desktop is OK - no screen corruptions.
 
  What hardware and display do you have?

 It's a Samsung ultrabook with SandyBridge CPU.

 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

 using LVDS.

 - Sedat -

 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

 Did that make a difference? It shouldn't if the error is occuring before
 X even starts...

 NO, was just confused not seeing GT2 (HD-3000 was new to me) in my
 Xorg.log :-).

 As said logging out of Unity-2D and entering LightDM greeter - screen is fine.
 Starting again a Unity-2D session - no screen corruption, too.

 - Sedat -

Some more testing:

[1] With my X stack:

FIRST BAD: next-20130812
LAST GOOD: next-20130809

[2] With Ubuntu's X stack:

next-20130813 is OK (Xorg.log attached)

- Sedat -


Xorg.0.log
Description: Binary data


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 4:07 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
  After a logout from my BROKEN Unity-2D session - the login-screen
  for LightDM seems to be OK.
  Then entering my Unity-2D desktop is OK - no screen corruptions.
 
  What hardware and display do you have?

 It's a Samsung ultrabook with SandyBridge CPU.

 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

 using LVDS.

 - Sedat -

 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

 Did that make a difference? It shouldn't if the error is occuring before
 X even starts...

 NO, was just confused not seeing GT2 (HD-3000 was new to me) in my
 Xorg.log :-).

 As said logging out of Unity-2D and entering LightDM greeter - screen is 
 fine.
 Starting again a Unity-2D session - no screen corruption, too.

 - Sedat -

 Some more testing:

 [1] With my X stack:

 FIRST BAD: next-20130812
 LAST GOOD: next-20130809

 [2] With Ubuntu's X stack:

 next-20130813 is OK (Xorg.log attached)


drm-intel-nightly is also BAD with my X stack (with Ubuntu's X stack
no problems).

- Sedat -

 - Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 4:45 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 4:07 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
  After a logout from my BROKEN Unity-2D session - the login-screen
  for LightDM seems to be OK.
  Then entering my Unity-2D desktop is OK - no screen corruptions.
 
  What hardware and display do you have?

 It's a Samsung ultrabook with SandyBridge CPU.

 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

 using LVDS.

 - Sedat -

 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

 Did that make a difference? It shouldn't if the error is occuring before
 X even starts...

 NO, was just confused not seeing GT2 (HD-3000 was new to me) in my
 Xorg.log :-).

 As said logging out of Unity-2D and entering LightDM greeter - screen is 
 fine.
 Starting again a Unity-2D session - no screen corruption, too.

 - Sedat -

 Some more testing:

 [1] With my X stack:

 FIRST BAD: next-20130812
 LAST GOOD: next-20130809

 [2] With Ubuntu's X stack:

 next-20130813 is OK (Xorg.log attached)


 drm-intel-nightly is also BAD with my X stack (with Ubuntu's X stack
 no problems).


I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:

5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
commit 5456fe3882812aba251886e36fe55bfefb8e8829
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Thu Aug 8 14:41:07 2013 +0100

drm/i915: Allocate LLC ringbuffers from stolen

As stolen objects now behave identically (wrt to default LLC cacheing)
as their normal system counterparts, we no longer have to differentiate
our usage for ringbuffers. So allocate them from stolen on SNB+ as well.

Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch

:04 04 de063a052f39095f4d2f51b49caef9f827df41e8
1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers

See also attached files!

- Sedat -
git bisect start
# good: [d4e4ab86bcba5a72779c43dc1459f71fea3d89c8] Linux 3.11-rc5
git bisect good d4e4ab86bcba5a72779c43dc1459f71fea3d89c8
# bad: [5b79c8eb1b61d499ca70cc3e4e2ced7822209876] Merge branch 
'drm-intel-nightly' into 3.11.0-rc5-iniza-small
git bisect bad 5b79c8eb1b61d499ca70cc3e4e2ced7822209876
# good: [36f2d1f151215c48d902947d64b86dc5ab277e19] drm/i915: rip out legacy 
encoder-mode_set callback
git bisect good 36f2d1f151215c48d902947d64b86dc5ab277e19
# good: [c35426d2bc25b242ee2a9a7a1d62634be1e86bb0] drm/i915: Split plane 
watermark parameters into a separate struct
git bisect good c35426d2bc25b242ee2a9a7a1d62634be1e86bb0
# good: [32c913e4369ce7bd1d16a9b6983f7b8975c13f5a] Merge tag 
'drm-intel-next-2013-07-26-fixed' of 
git://people.freedesktop.org/~danvet/drm-intel into drm-next
git bisect good 32c913e4369ce7bd1d16a9b6983f7b8975c13f5a
# good: [d46f1c3f1372e3a72fab97c60480aa4a1084387f] drm/i915: Allow the GPU to 
cache stolen memory
git bisect good d46f1c3f1372e3a72fab97c60480aa4a1084387f
# bad: [b8a1868b10bb4fe7fb7d283da5d56064b1a189f4] drm/i915: Allow the user to 
set bo into the DISPLAY cache domain
git bisect bad b8a1868b10bb4fe7fb7d283da5d56064b1a189f4
# bad: [a698a20e8cf9a946b0a491cb58ff96c0b4332d08] i915: Fix SDVO potentially 
turning off randomly
git bisect bad a698a20e8cf9a946b0a491cb58ff96c0b4332d08
# bad: [8d2d9e6517d95d2bfa35dfa650330cf0b591d7e1] drm/i915: Only do a chipset 
flush after a clflush
git bisect bad 8d2d9e6517d95d2bfa35dfa650330cf0b591d7e1
# bad: [5456fe3882812aba251886e36fe55bfefb8e8829] drm/i915: Allocate LLC 
ringbuffers from stolen
git bisect bad 5456fe3882812aba251886e36fe55bfefb8e8829
# first bad commit: [5456fe3882812aba251886e36fe55bfefb8e8829] drm/i915: 
Allocate LLC ringbuffers from stolen
commit 5456fe3882812aba251886e36fe55bfefb8e8829
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Thu Aug 8 14:41:07 2013 +0100

drm/i915: Allocate LLC ringbuffers from stolen

As stolen objects now behave identically (wrt to default LLC cacheing)
as their normal system counterparts, we no longer have to differentiate
our usage for ringbuffers. So allocate them from stolen on SNB+ as well.

Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch

 drivers/gpu/drm/i915/intel_ringbuffer.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
commit 5456fe3882812aba251886e36fe55bfefb8e8829
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Thu Aug 8 14:41:07 

Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 4:45 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 4:07 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:57 AM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 11:52 AM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 On Tue, Aug 13, 2013 at 11:47:19AM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 11:39 AM, Chris Wilson 
 ch...@chris-wilson.co.uk wrote:
  On Tue, Aug 13, 2013 at 11:35:53AM +0200, Sedat Dilek wrote:
  After a logout from my BROKEN Unity-2D session - the login-screen
  for LightDM seems to be OK.
  Then entering my Unity-2D desktop is OK - no screen corruptions.
 
  What hardware and display do you have?

 It's a Samsung ultrabook with SandyBridge CPU.

 [   333.291] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
 Graphics 3000

 using LVDS.

 - Sedat -

 P.S.: I switched to intel-ddx v2-21-14-35-g5840bf in the meantime.

 Did that make a difference? It shouldn't if the error is occuring before
 X even starts...

 NO, was just confused not seeing GT2 (HD-3000 was new to me) in my
 Xorg.log :-).

 As said logging out of Unity-2D and entering LightDM greeter - screen is 
 fine.
 Starting again a Unity-2D session - no screen corruption, too.

 - Sedat -

 Some more testing:

 [1] With my X stack:

 FIRST BAD: next-20130812
 LAST GOOD: next-20130809

 [2] With Ubuntu's X stack:

 next-20130813 is OK (Xorg.log attached)


 drm-intel-nightly is also BAD with my X stack (with Ubuntu's X stack
 no problems).


 I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:

 5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
 commit 5456fe3882812aba251886e36fe55bfefb8e8829
 Author: Chris Wilson ch...@chris-wilson.co.uk
 Date:   Thu Aug 8 14:41:07 2013 +0100

 drm/i915: Allocate LLC ringbuffers from stolen

 As stolen objects now behave identically (wrt to default LLC cacheing)
 as their normal system counterparts, we no longer have to differentiate
 our usage for ringbuffers. So allocate them from stolen on SNB+ as well.

 Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
 Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
 Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch

 :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
 1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers

 See also attached files!


With the attached revert-patch my system is OK (with my customized X stack).

- Sedat -


0001-Revert-drm-i915-Allocate-LLC-ringbuffers-from-stolen.patch
Description: Binary data


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek sedat.di...@gmail.com wrote:
  I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
 
  5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
  commit 5456fe3882812aba251886e36fe55bfefb8e8829
  Author: Chris Wilson ch...@chris-wilson.co.uk
  Date:   Thu Aug 8 14:41:07 2013 +0100
 
  drm/i915: Allocate LLC ringbuffers from stolen
 
  As stolen objects now behave identically (wrt to default LLC cacheing)
  as their normal system counterparts, we no longer have to differentiate
  our usage for ringbuffers. So allocate them from stolen on SNB+ as well.
 
  Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
  Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
  Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
 
  :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
  1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
 
  See also attached files!
 
 
 With the attached revert-patch my system is OK (with my customized X stack).

No indication of a GPU hang? I'm puzzled as to how this ends up with the
scanout being misread.

cat /sys/kernel/debug/dri/0/i915_gem_stolen
cat /sys/kernel/debug/dri/0/i915_gem_framebuffer

would be interesting.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek sedat.di...@gmail.com wrote:
  I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
 
  5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
  commit 5456fe3882812aba251886e36fe55bfefb8e8829
  Author: Chris Wilson ch...@chris-wilson.co.uk
  Date:   Thu Aug 8 14:41:07 2013 +0100
 
  drm/i915: Allocate LLC ringbuffers from stolen
 
  As stolen objects now behave identically (wrt to default LLC cacheing)
  as their normal system counterparts, we no longer have to differentiate
  our usage for ringbuffers. So allocate them from stolen on SNB+ as 
  well.
 
  Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
  Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
  Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
 
  :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
  1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
 
  See also attached files!
 

 With the attached revert-patch my system is OK (with my customized X stack).

 No indication of a GPU hang? I'm puzzled as to how this ends up with the
 scanout being misread.

 cat /sys/kernel/debug/dri/0/i915_gem_stolen
 cat /sys/kernel/debug/dri/0/i915_gem_framebuffer

 would be interesting.

With revert-patch applied:

$ sudo cat /sys/kernel/debug/dri/0/i915_gem_stolen
Stolen:
   88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
(pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
(stolen: ) (p mappable)
Total 1 objects, 4227072 bytes, 4227072 GTT size

$ sudo cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj
88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
(pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
(stolen: ) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj
88007f6f5080: pXg 5120KiB 36 02 124873 124873 0 uncached dirty
(name: 3) (pinned x 1) (display) (fence: 0) (ggtt offset: 0047a000,
size: 0050) (p mappable) (blitter ring)

- Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 (xfs)

2013-08-13 Thread Randy Dunlap
On 08/13/13 01:28, Stephen Rothwell wrote:
 Hi all,
 
 Changes since 20130812:
 

on i386:

fs/built-in.o: In function `xfs_log_calc_minimum_size':
(.text+0x1797a9): undefined reference to `__udivdi3'


-- 
~Randy
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 6:37 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek sedat.di...@gmail.com wrote:
  I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
 
  5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
  commit 5456fe3882812aba251886e36fe55bfefb8e8829
  Author: Chris Wilson ch...@chris-wilson.co.uk
  Date:   Thu Aug 8 14:41:07 2013 +0100
 
  drm/i915: Allocate LLC ringbuffers from stolen
 
  As stolen objects now behave identically (wrt to default LLC cacheing)
  as their normal system counterparts, we no longer have to 
  differentiate
  our usage for ringbuffers. So allocate them from stolen on SNB+ as 
  well.
 
  Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
  Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
  Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
 
  :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
  1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
 
  See also attached files!
 

 With the attached revert-patch my system is OK (with my customized X stack).

 No indication of a GPU hang? I'm puzzled as to how this ends up with the
 scanout being misread.

 cat /sys/kernel/debug/dri/0/i915_gem_stolen
 cat /sys/kernel/debug/dri/0/i915_gem_framebuffer

 would be interesting.

 With revert-patch applied:

 $ sudo cat /sys/kernel/debug/dri/0/i915_gem_stolen
 Stolen:
88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
 (pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
 (stolen: ) (p mappable)
 Total 1 objects, 4227072 bytes, 4227072 GTT size

 $ sudo cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
 fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj
 88007f6f5200: p g 4128KiB 77 00 0 0 0 uncached (name: 1)
 (pinned x 1) (display) (ggtt offset: 00072000, size: 00408000)
 (stolen: ) (p mappable)
 user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj
 88007f6f5080: pXg 5120KiB 36 02 124873 124873 0 uncached dirty
 (name: 3) (pinned x 1) (display) (fence: 0) (ggtt offset: 0047a000,
 size: 0050) (p mappable) (blitter ring)


Attached both outputs with GOOD and BAD (BROKEN) kernel.

- Sedat -
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 880074492e40: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
00072000, size: 00408000) (stolen: ) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 880074492840: pXg  
   5120KiB 36 02 158126 158126 0 uncached dirty (name: 3) (pinned x 1) 
(display) (fence: 0) (ggtt offset: 0047a000, size: 0050) (p mappable) 
(blitter ring)
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 880073995200: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
00072000, size: 00408000) (stolen: 0006) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 8800736d8e00: pXg  
   5120KiB 36 02 -737 -737 0 uncached dirty (name: 3) (pinned x 1) (display) 
(fence: 0) (ggtt offset: 0047a000, size: 0050) (p mappable) (blitter ring)
Stolen:
   880074492e40: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 00072000, size: 00408000) (stolen: ) (p 
mappable)
Total 1 objects, 4227072 bytes, 4227072 GTT size
Stolen:
   880073995c80: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 1000, size: 0002) (stolen: ) (p mappable)
   880073995800: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00023000, size: 0002) (stolen: 0002) (p mappable)
   880073995500: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00044000, size: 0002) (stolen: 0004) (p mappable)
   880073995200: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 00072000, size: 00408000) (stolen: 0006) (p 
mappable)
Total 4 objects, 4620288 bytes, 4620288 GTT size


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 07:03:44PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 6:37 PM, Sedat Dilek sedat.di...@gmail.com wrote:
  On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson ch...@chris-wilson.co.uk 
  wrote:
  On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
  On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek sedat.di...@gmail.com 
  wrote:
   I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
  
   5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
   commit 5456fe3882812aba251886e36fe55bfefb8e8829
   Author: Chris Wilson ch...@chris-wilson.co.uk
   Date:   Thu Aug 8 14:41:07 2013 +0100
  
   drm/i915: Allocate LLC ringbuffers from stolen
  
   As stolen objects now behave identically (wrt to default LLC 
   cacheing)
   as their normal system counterparts, we no longer have to 
   differentiate
   our usage for ringbuffers. So allocate them from stolen on SNB+ as 
   well.
  
   Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
   Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
   Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
  
   :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
   1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
  
   See also attached files!
  
 
  With the attached revert-patch my system is OK (with my customized X 
  stack).
 
  No indication of a GPU hang? I'm puzzled as to how this ends up with the
  scanout being misread.
 
  cat /sys/kernel/debug/dri/0/i915_gem_stolen
  cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
 
  would be interesting.

 Attached both outputs with GOOD and BAD (BROKEN) kernel.

ggtt offset is the same for both setups, the only difference between the
two is the location of fbcon in stolen memory.

Can you please attach the output of intel_reg_dumper for good/bad? It's
a long shot...

Speaking of long shots, try this (slightly different to the earlier patch):

diff --git a/drivers/gpu/drm/i915/intel_display.c 
b/drivers/gpu/drm/i915/intel_display.c
index a21f935..37ad772 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -1850,6 +1850,9 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
BUG();
}
 
+   if (obj-stolen  INTEL_INFO(dev)-gen = 6)
+   alignment = 256 * 1024;
+
/* Note that the w/a also requires 64 PTE of padding following the
 * bo. We currently fill all unused PTE with the shadow page and so
 * we should always have valid PTE following the scanout preventing


-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 7:13 PM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 07:03:44PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 6:37 PM, Sedat Dilek sedat.di...@gmail.com wrote:
  On Tue, Aug 13, 2013 at 6:34 PM, Chris Wilson ch...@chris-wilson.co.uk 
  wrote:
  On Tue, Aug 13, 2013 at 06:23:29PM +0200, Sedat Dilek wrote:
  On Tue, Aug 13, 2013 at 5:59 PM, Sedat Dilek sedat.di...@gmail.com 
  wrote:
   I have bisected the issue on Linux v3.11-rc5 + drm-intel-nightly:
  
   5456fe3882812aba251886e36fe55bfefb8e8829 is the first bad commit
   commit 5456fe3882812aba251886e36fe55bfefb8e8829
   Author: Chris Wilson ch...@chris-wilson.co.uk
   Date:   Thu Aug 8 14:41:07 2013 +0100
  
   drm/i915: Allocate LLC ringbuffers from stolen
  
   As stolen objects now behave identically (wrt to default LLC 
   cacheing)
   as their normal system counterparts, we no longer have to 
   differentiate
   our usage for ringbuffers. So allocate them from stolen on SNB+ as 
   well.
  
   Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
   Reviewed-by: Ville Syrjälä ville.syrj...@linux.intel.com
   Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch
  
   :04 04 de063a052f39095f4d2f51b49caef9f827df41e8
   1c819aa5501a9fcc9912a5c7c037c71b9b9e9a6b M  drivers
  
   See also attached files!
  
 
  With the attached revert-patch my system is OK (with my customized X 
  stack).
 
  No indication of a GPU hang? I'm puzzled as to how this ends up with the
  scanout being misread.
 
  cat /sys/kernel/debug/dri/0/i915_gem_stolen
  cat /sys/kernel/debug/dri/0/i915_gem_framebuffer
 
  would be interesting.

 Attached both outputs with GOOD and BAD (BROKEN) kernel.

 ggtt offset is the same for both setups, the only difference between the
 two is the location of fbcon in stolen memory.

 Can you please attach the output of intel_reg_dumper for good/bad? It's
 a long shot...

 Speaking of long shots, try this (slightly different to the earlier patch):

 diff --git a/drivers/gpu/drm/i915/intel_display.c 
 b/drivers/gpu/drm/i915/intel_display.c
 index a21f935..37ad772 100644
 --- a/drivers/gpu/drm/i915/intel_display.c
 +++ b/drivers/gpu/drm/i915/intel_display.c
 @@ -1850,6 +1850,9 @@ intel_pin_and_fence_fb_obj(struct drm_device *dev,
 BUG();
 }

 +   if (obj-stolen  INTEL_INFO(dev)-gen = 6)
 +   alignment = 256 * 1024;
 +
 /* Note that the w/a also requires 64 PTE of padding following the
  * bo. We currently fill all unused PTE with the shadow page and so
  * we should always have valid PTE following the scanout preventing


 --

Files attached.

- Sedat -
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 88010c54fe40: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
0008, size: 00408000) (stolen: 0006) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 88010c54fcc0: pXg  
   5120KiB 36 02 -591 -591 0 uncached dirty (name: 3) (pinned x 1) (display) 
(fence: 0) (ggtt offset: 00488000, size: 0050) (p mappable) (blitter ring)
fbcon size: 1366 x 768, depth 24, 32 bpp, refcount 2, obj 880073fca200: p g 
4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 1) (display) (ggtt offset: 
0008, size: 00408000) (stolen: ) (p mappable)
user size: 1366 x 768, depth 24, 32 bpp, refcount 3, obj 880118928b40: pXg  
   5120KiB 36 02 -12 -12 0 uncached dirty (name: 3) (pinned x 1) (display) 
(fence: 0) (ggtt offset: 00488000, size: 0050) (p mappable) (blitter ring)
Stolen:
   880072c39c80: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 1000, size: 0002) (stolen: ) (p mappable)
   880072c39800: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00023000, size: 0002) (stolen: 0002) (p mappable)
   880072c39500: p g  128KiB 40 40 0 0 0 snooped or LLC dirty (pinned x 
1) (ggtt offset: 00044000, size: 0002) (stolen: 0004) (p mappable)
   88010c54fe40: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 0008, size: 00408000) (stolen: 0006) (p 
mappable)
Total 4 objects, 4620288 bytes, 4620288 GTT size
Stolen:
   880073fca200: p g 4128KiB 77 00 0 0 0 uncached (name: 1) (pinned x 
1) (display) (ggtt offset: 0008, size: 00408000) (stolen: ) (p 
mappable)
Total 1 objects, 4227072 bytes, 4227072 GTT size


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
 Files attached.

Can you also please attach a full dmesg so I can check for anything
unusual?

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 (xfs)

2013-08-13 Thread Eric Sandeen
On 8/13/13 11:59 AM, Randy Dunlap wrote:
 On 08/13/13 01:28, Stephen Rothwell wrote:
 Hi all,

 Changes since 20130812:

 
 on i386:
 
 fs/built-in.o: In function `xfs_log_calc_minimum_size':
 (.text+0x1797a9): undefined reference to `__udivdi3'
 
 

See:

[PATCH] xfs: call roundup_64() to calculate the min_logblks

on the xfs list:

From: Jie Liu jeff@oracle.com

Replace roundup() with roundup_64() as we calculate min_logblks
with 64-bit divisions.  Hence, call roundup() will cause the
following error while compiling a 32-bit kernel:

fs/built-in.o: In function `xfs_log_calc_minimum_size':
fs/xfs/xfs_log_rlimit.c:140: undefined reference to `__udivdi3'

Reported-by: Fengguang Wu fengguang...@intel.com
Cc: Dave Chinner dchin...@redhat.com
Signed-off-by: Jie Liu jeff@oracle.com
---
 fs/xfs/xfs_log_rlimit.c |8 +---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/fs/xfs/xfs_log_rlimit.c b/fs/xfs/xfs_log_rlimit.c
index 6b17ef4..bbcec0b 100644
--- a/fs/xfs/xfs_log_rlimit.c
+++ b/fs/xfs/xfs_log_rlimit.c
@@ -136,10 +136,12 @@ xfs_log_calc_minimum_size(
 * Also, the log size should be a multiple of the log stripe unit, round
 * it up to lsunit boundary if lsunit is specified.
 */
-   if (lsunit)
-   min_logblks = roundup(BTOBB(max_logres), lsunit) + 2 * lsunit;
-   else
+   if (lsunit) {
+   min_logblks = roundup_64(BTOBB(max_logres), lsunit) +
+ 2 * lsunit;
+   } else
min_logblks = BTOBB(max_logres) + 2 * BBSIZE;
min_logblks *= XFS_MIN_LOG_FACTOR;
+
return XFS_BB_TO_FSB(mp, min_logblks);
 }
-- 

-Eric
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
  Files attached.
 
  Can you also please attach a full dmesg so I can check for anything
  unusual?
 

Nothing scarred me on a couple of read throughs.

What happens if you try:

diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
b/drivers/gpu/drm/i915/i915_gem_stolen.c
index 112c5e1..9828d9b 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 
size)
return NULL;
 
ret = drm_mm_insert_node(dev_priv-mm.stolen, stolen, size,
-4096, DRM_MM_SEARCH_DEFAULT);
+1024*1024, DRM_MM_SEARCH_DEFAULT);
if (ret) {
kfree(stolen);
return NULL;

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
  Files attached.
 
  Can you also please attach a full dmesg so I can check for anything
  unusual?
 

 Nothing scarred me on a couple of read throughs.

 What happens if you try:

 diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
 b/drivers/gpu/drm/i915/i915_gem_stolen.c
 index 112c5e1..9828d9b 100644
 --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
 +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
 @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, u32 
 size)
 return NULL;

 ret = drm_mm_insert_node(dev_priv-mm.stolen, stolen, size,
 -4096, DRM_MM_SEARCH_DEFAULT);
 +1024*1024, DRM_MM_SEARCH_DEFAULT);
 if (ret) {
 kfree(stolen);
 return NULL;

 --

Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
from the top).
On the bottom I can read Ubuntu 12.04 LTS with the known background.
So-to-say 3/4 blind.

- Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson ch...@chris-wilson.co.uk wrote:
 On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
  On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson ch...@chris-wilson.co.uk 
  wrote:
   On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
   Files attached.
  
   Can you also please attach a full dmesg so I can check for anything
   unusual?
  
 
  Nothing scarred me on a couple of read throughs.
 
  What happens if you try:
 
  diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
  b/drivers/gpu/drm/i915/i915_gem_stolen.c
  index 112c5e1..9828d9b 100644
  --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
  +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
  @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, 
  u32 size)
  return NULL;
 
  ret = drm_mm_insert_node(dev_priv-mm.stolen, stolen, size,
  -4096, DRM_MM_SEARCH_DEFAULT);
  +1024*1024, DRM_MM_SEARCH_DEFAULT);
  if (ret) {
  kfree(stolen);
  return NULL;
 
  --

 Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
 from the top).
 On the bottom I can read Ubuntu 12.04 LTS with the known background.
 So-to-say 3/4 blind.

 That implies that the scanout is always reading from the base of stolen.
 Can you grab intel_reg_dumper so that I can check what values the
 transcoder is set to?

 At the moment, I am guessing that the display never sees the updated
 surface offset and so persists with the value programmed by the BIOS -
 which will be 0 and set to the base of stolen memory in the GTT. A
 drm.debug=6 dmesg would help here as well.

 If you forced a mode change, I think that too would restore the output.

With which kernel? Vanilla next-20130813? With any of your patches?

- Sedat -
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 10:16:10PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
  On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson ch...@chris-wilson.co.uk 
  wrote:
   On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
   On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson 
   ch...@chris-wilson.co.uk wrote:
On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
Files attached.
   
Can you also please attach a full dmesg so I can check for anything
unusual?
   
  
   Nothing scarred me on a couple of read throughs.
  
   What happens if you try:
  
   diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
   b/drivers/gpu/drm/i915/i915_gem_stolen.c
   index 112c5e1..9828d9b 100644
   --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
   +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
   @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device 
   *dev, u32 size)
   return NULL;
  
   ret = drm_mm_insert_node(dev_priv-mm.stolen, stolen, size,
   -4096, DRM_MM_SEARCH_DEFAULT);
   +1024*1024, DRM_MM_SEARCH_DEFAULT);
   if (ret) {
   kfree(stolen);
   return NULL;
  
   --
 
  Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
  from the top).
  On the bottom I can read Ubuntu 12.04 LTS with the known background.
  So-to-say 3/4 blind.
 
  That implies that the scanout is always reading from the base of stolen.
  Can you grab intel_reg_dumper so that I can check what values the
  transcoder is set to?
 
  At the moment, I am guessing that the display never sees the updated
  surface offset and so persists with the value programmed by the BIOS -
  which will be 0 and set to the base of stolen memory in the GTT. A
  drm.debug=6 dmesg would help here as well.
 
  If you forced a mode change, I think that too would restore the output.
 
 With which kernel? Vanilla next-20130813? With any of your patches?

Any but the working one ;-)
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Chris Wilson
On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
  On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson ch...@chris-wilson.co.uk 
  wrote:
   On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
   Files attached.
  
   Can you also please attach a full dmesg so I can check for anything
   unusual?
  
 
  Nothing scarred me on a couple of read throughs.
 
  What happens if you try:
 
  diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
  b/drivers/gpu/drm/i915/i915_gem_stolen.c
  index 112c5e1..9828d9b 100644
  --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
  +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
  @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device *dev, 
  u32 size)
  return NULL;
 
  ret = drm_mm_insert_node(dev_priv-mm.stolen, stolen, size,
  -4096, DRM_MM_SEARCH_DEFAULT);
  +1024*1024, DRM_MM_SEARCH_DEFAULT);
  if (ret) {
  kfree(stolen);
  return NULL;
 
  --
 
 Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
 from the top).
 On the bottom I can read Ubuntu 12.04 LTS with the known background.
 So-to-say 3/4 blind.

That implies that the scanout is always reading from the base of stolen.
Can you grab intel_reg_dumper so that I can check what values the
transcoder is set to?

At the moment, I am guessing that the display never sees the updated
surface offset and so persists with the value programmed by the BIOS -
which will be 0 and set to the base of stolen memory in the GTT. A
drm.debug=6 dmesg would help here as well.

If you forced a mode change, I think that too would restore the output.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: linux-next: Tree for Aug 13 [ screen corruption in graphical mode ]

2013-08-13 Thread Sedat Dilek
On Tue, Aug 13, 2013 at 10:33 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 10:25 PM, Sedat Dilek sedat.di...@gmail.com wrote:
 On Tue, Aug 13, 2013 at 10:20 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
 On Tue, Aug 13, 2013 at 10:16:10PM +0200, Sedat Dilek wrote:
 On Tue, Aug 13, 2013 at 10:10 PM, Chris Wilson ch...@chris-wilson.co.uk 
 wrote:
  On Tue, Aug 13, 2013 at 09:05:41PM +0200, Sedat Dilek wrote:
  On Tue, Aug 13, 2013 at 8:53 PM, Chris Wilson 
  ch...@chris-wilson.co.uk wrote:
   On Tue, Aug 13, 2013 at 08:40:37PM +0200, Sedat Dilek wrote:
   On Tue, Aug 13, 2013 at 8:01 PM, Chris Wilson 
   ch...@chris-wilson.co.uk wrote:
On Tue, Aug 13, 2013 at 07:53:25PM +0200, Sedat Dilek wrote:
Files attached.
   
Can you also please attach a full dmesg so I can check for anything
unusual?
   
  
   Nothing scarred me on a couple of read throughs.
  
   What happens if you try:
  
   diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c 
   b/drivers/gpu/drm/i915/i915_gem_stolen.c
   index 112c5e1..9828d9b 100644
   --- a/drivers/gpu/drm/i915/i915_gem_stolen.c
   +++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
   @@ -284,7 +284,7 @@ i915_gem_object_create_stolen(struct drm_device 
   *dev, u32 size)
   return NULL;
  
   ret = drm_mm_insert_node(dev_priv-mm.stolen, stolen, size,
   -4096, DRM_MM_SEARCH_DEFAULT);
   +1024*1024, DRM_MM_SEARCH_DEFAULT);
   if (ret) {
   kfree(stolen);
   return NULL;
  
   --
 
  Now, 2/3 till 3/4 of my LightDM greeter screen is a black bar (seen
  from the top).
  On the bottom I can read Ubuntu 12.04 LTS with the known background.
  So-to-say 3/4 blind.
 
  That implies that the scanout is always reading from the base of stolen.
  Can you grab intel_reg_dumper so that I can check what values the
  transcoder is set to?
 
  At the moment, I am guessing that the display never sees the updated
  surface offset and so persists with the value programmed by the BIOS -
  which will be 0 and set to the base of stolen memory in the GTT. A
  drm.debug=6 dmesg would help here as well.
 
  If you forced a mode change, I think that too would restore the output.

 With which kernel? Vanilla next-20130813? With any of your patches?

 Any but the working one ;-)

 Damn Gmail, they switched again the UI, f***.

 This is d-i-n with Revert drm/i915: Allocate LLC ringbuffers from
 stolen --- working one (no screen corruptions).

 - Sedat -

 Vanilla next-20130813 after 1st login and logout-unity2d-plus-relogin-lightdm.
 The diff might be interesting as the 2nd login makes the issue go away.


intel_reg_dumper output attached.

- Sedat -
PGETBL_CTL: 0x
   GEN6_INSTDONE_1: 0xfffe
   GEN6_INSTDONE_2: 0x
  CPU_VGACNTRL: 0x8000 (disabled)
DIGITAL_PORT_HOTPLUG_CNTRL: 0x
 RR_HW_CTL: 0x (low 0, high 0)
FDI_PLL_BIOS_0: 0x
FDI_PLL_BIOS_1: 0x
FDI_PLL_BIOS_2: 0x
   DISPLAY_PORT_PLL_BIOS_0: 0x
   DISPLAY_PORT_PLL_BIOS_1: 0x
   DISPLAY_PORT_PLL_BIOS_2: 0x
  FDI_PLL_FREQ_CTL: 0x
 PIPEACONF: 0xc000 (enabled, active, pf-pd, rotate 0, 
8bpc)
  HTOTAL_A: 0x05cd0555 (1366 active, 1486 total)
  HBLANK_A: 0x05cd0555 (1366 start, 1486 end)
   HSYNC_A: 0x05a50585 (1414 start, 1446 end)
  VTOTAL_A: 0x031702ff (768 active, 792 total)
  VBLANK_A: 0x031702ff (768 start, 792 end)
   VSYNC_A: 0x03060301 (770 start, 775 end)
  VSYNCSHIFT_A: 0x
  PIPEASRC: 0x055502ff (1366, 768)
 PIPEA_DATA_M1: 0x7e32468a (TU 64, val 0x32468a 3294858)
 PIPEA_DATA_N1: 0x0040 (val 0x40 4194304)
 PIPEA_DATA_M2: 0x (TU 1, val 0x0 0)
 PIPEA_DATA_N2: 0x (val 0x0 0)
 PIPEA_LINK_M1: 0x00021845 (val 0x21845 137285)
 PIPEA_LINK_N1: 0x0008 (val 0x8 524288)
 PIPEA_LINK_M2: 0x (val 0x0 0)
 PIPEA_LINK_N2: 0x (val 0x0 0)
  DSPACNTR: 0xd8004400 (enabled)
  DSPABASE: 0x
DSPASTRIDE: 0x1600 (88)
  DSPASURF: 0x0047a000
   DSPATILEOFF: 0x (0, 0)
 PIPEBCONF: 0x (disabled, inactive, pf-pd, rotate 
0, 8bpc)
  HTOTAL_B: 0x (1 active, 1 total)
  HBLANK_B: 0x (1 start, 1 end)
   HSYNC_B: 0x (1 start, 1 end)
  VTOTAL_B: 0x (1 active, 1 total)
  

linux-next: Tree for Aug 13

2012-08-12 Thread Stephen Rothwell
Hi all,

Changes since 20120810:

The rr tree gained a conflict against the xtensa tree.

The tty tree lost its build failures.

I have still reverted 3 commits from the signal tree at the request of the
arm maintainer.



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one.  You should use "git fetch" as mentioned in the FAQ on the wiki
(see below).

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log files
in the Next directory.  Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64. After the
final fixups (if any), it is also built with powerpc allnoconfig (32 and
64 bit), ppc44x_defconfig and allyesconfig (minus
CONFIG_PROFILE_ALL_BRANCHES - this fails its final link) and i386, sparc,
sparc64 and arm defconfig. These builds also have
CONFIG_ENABLE_WARN_DEPRECATED, CONFIG_ENABLE_MUST_CHECK and
CONFIG_DEBUG_INFO disabled when necessary.

Below is a summary of the state of the merge.

We are up to 195 trees (counting Linus' and 26 trees of patches pending
for Linus' tree), more are welcome (even if they are currently empty).
Thanks to those who have contributed, and to those who haven't, please do.

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ .  Thanks to Frank Seidel.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (21d2f8d Merge tag 'gpio-fixes-v3.6-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio)
Merging fixes/master (9023a40 Merge tag 'mmc-fixes-for-3.5-rc4' of 
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc)
Merging kbuild-current/rc-fixes (f8f5701 Linux 3.5-rc1)
Merging arm-current/fixes (730a812 ARM: 7489/1: errata: fix workaround for 
erratum #720789 on UP systems)
Merging m68k-current/for-linus (9e2760d m68k: Make sys_atomic_cmpxchg_32 work 
on classic m68k)
Merging powerpc-merge/merge (ad36cb0 powerpc/kvm/book3s_32: Fix MTMSR_EERI 
macro)
Merging sparc/master (a27032e sparc64: do not clobber personality flags in 
sys_sparc64_personality())
Merging net/master (f57b07c bnx2x: Fix compiler warnings)
Merging sound-current/for-linus (e037cb4 ALSA : hda - bug fix on checking the 
supported power states of a codec)
Merging pci-current/for-linus (314489b Merge tag 'fixes-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc)
Merging wireless/master (e19f15a ath9k: stop btcoex on device suspend)
Merging driver-core.current/driver-core-linus (0d7614f Linux 3.6-rc1)
Merging tty.current/tty-linus (7d9739c serial: ifx6x60: fix paging fault on 
spi_register_driver)
Merging usb.current/usb-linus (b1b552a usb: gadget: u_ether: fix kworker 100% 
CPU issue with still used interfaces in eth_stop)
Merging staging.current/staging-linus (a26f4dd staging: comedi: rtd520: 
ioremap'ed addresses are resource_size_t)
Merging char-misc.current/char-misc-linus (0d7614f Linux 3.6-rc1)
Merging input-current/for-linus (cf45b5a Merge branch 'next' into for-linus)
Merging md-current/for-linus (58e94ae md/raid1: close some possible races on 
write errors during resync)
Merging audit-current/for-linus (c158a35 audit: no leading space in 
audit_log_d_path prefix)
Merging crypto-current/master (76f16f8 crypto: hifn_795x - fix 64bit division 
and undefined __divdi3 on 32bit archs)
Merging ide/master (39a50b4 Merge branch 'hfsplus')
Merging dwmw2/master (244dc4e Merge 
git://git.infradead.org/users/dwmw2/random-2.6)
Merging sh-current/sh-fixes-for-linus (4403310 SH: Convert out[bwl] macros to 
inline functions)
Merging irqdomain-current/irqdomain/merge (15e06bf irqdomain: Fix debugfs 
formatting)
Merging devicetree-current/devicetree/merge (4e8383b of: release node fix for 
of_parse_phandle_with_args)
Merging spi-current/spi/merge (d1c185b of/spi: Fix SPI module loading by using 
proper "spi:" modalias prefixes.)
Merging gpio-current/gpio/merge (96b7064 gpio/tca6424: merge I2C transactions, 
remove cast)
Merging arm/for-next (730a812 ARM: 7489/1: errata: fix workaround for erratum 
#720789 on UP systems)
Merging arm-perf/for-next/perf (dee8c1b ARM: perf: remove arm_perf_pmu_ids 
global enumeration)
Merging davinci/davinci-next (fe0d422 Linux 3.0-rc6)

linux-next: Tree for Aug 13

2012-08-12 Thread Stephen Rothwell
Hi all,

Changes since 20120810:

The rr tree gained a conflict against the xtensa tree.

The tty tree lost its build failures.

I have still reverted 3 commits from the signal tree at the request of the
arm maintainer.



I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ).  If you
are tracking the linux-next tree using git, you should not use git pull
to do so as that will try to merge the new linux-next release with the
old one.  You should use git fetch as mentioned in the FAQ on the wiki
(see below).

You can see which trees have been included by looking in the Next/Trees
file in the source.  There are also quilt-import.log and merge.log files
in the Next directory.  Between each merge, the tree was built with
a ppc64_defconfig for powerpc and an allmodconfig for x86_64. After the
final fixups (if any), it is also built with powerpc allnoconfig (32 and
64 bit), ppc44x_defconfig and allyesconfig (minus
CONFIG_PROFILE_ALL_BRANCHES - this fails its final link) and i386, sparc,
sparc64 and arm defconfig. These builds also have
CONFIG_ENABLE_WARN_DEPRECATED, CONFIG_ENABLE_MUST_CHECK and
CONFIG_DEBUG_INFO disabled when necessary.

Below is a summary of the state of the merge.

We are up to 195 trees (counting Linus' and 26 trees of patches pending
for Linus' tree), more are welcome (even if they are currently empty).
Thanks to those who have contributed, and to those who haven't, please do.

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds.  And to Paul
Gortmaker for triage and bug fixes.

There is a wiki covering stuff to do with linux-next at
http://linux.f-seidel.de/linux-next/pmwiki/ .  Thanks to Frank Seidel.

-- 
Cheers,
Stephen Rothwells...@canb.auug.org.au

$ git checkout master
$ git reset --hard stable
Merging origin/master (21d2f8d Merge tag 'gpio-fixes-v3.6-rc1' of 
git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio)
Merging fixes/master (9023a40 Merge tag 'mmc-fixes-for-3.5-rc4' of 
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc)
Merging kbuild-current/rc-fixes (f8f5701 Linux 3.5-rc1)
Merging arm-current/fixes (730a812 ARM: 7489/1: errata: fix workaround for 
erratum #720789 on UP systems)
Merging m68k-current/for-linus (9e2760d m68k: Make sys_atomic_cmpxchg_32 work 
on classic m68k)
Merging powerpc-merge/merge (ad36cb0 powerpc/kvm/book3s_32: Fix MTMSR_EERI 
macro)
Merging sparc/master (a27032e sparc64: do not clobber personality flags in 
sys_sparc64_personality())
Merging net/master (f57b07c bnx2x: Fix compiler warnings)
Merging sound-current/for-linus (e037cb4 ALSA : hda - bug fix on checking the 
supported power states of a codec)
Merging pci-current/for-linus (314489b Merge tag 'fixes-for-linus' of 
git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc)
Merging wireless/master (e19f15a ath9k: stop btcoex on device suspend)
Merging driver-core.current/driver-core-linus (0d7614f Linux 3.6-rc1)
Merging tty.current/tty-linus (7d9739c serial: ifx6x60: fix paging fault on 
spi_register_driver)
Merging usb.current/usb-linus (b1b552a usb: gadget: u_ether: fix kworker 100% 
CPU issue with still used interfaces in eth_stop)
Merging staging.current/staging-linus (a26f4dd staging: comedi: rtd520: 
ioremap'ed addresses are resource_size_t)
Merging char-misc.current/char-misc-linus (0d7614f Linux 3.6-rc1)
Merging input-current/for-linus (cf45b5a Merge branch 'next' into for-linus)
Merging md-current/for-linus (58e94ae md/raid1: close some possible races on 
write errors during resync)
Merging audit-current/for-linus (c158a35 audit: no leading space in 
audit_log_d_path prefix)
Merging crypto-current/master (76f16f8 crypto: hifn_795x - fix 64bit division 
and undefined __divdi3 on 32bit archs)
Merging ide/master (39a50b4 Merge branch 'hfsplus')
Merging dwmw2/master (244dc4e Merge 
git://git.infradead.org/users/dwmw2/random-2.6)
Merging sh-current/sh-fixes-for-linus (4403310 SH: Convert out[bwl] macros to 
inline functions)
Merging irqdomain-current/irqdomain/merge (15e06bf irqdomain: Fix debugfs 
formatting)
Merging devicetree-current/devicetree/merge (4e8383b of: release node fix for 
of_parse_phandle_with_args)
Merging spi-current/spi/merge (d1c185b of/spi: Fix SPI module loading by using 
proper spi: modalias prefixes.)
Merging gpio-current/gpio/merge (96b7064 gpio/tca6424: merge I2C transactions, 
remove cast)
Merging arm/for-next (730a812 ARM: 7489/1: errata: fix workaround for erratum 
#720789 on UP systems)
Merging arm-perf/for-next/perf (dee8c1b ARM: perf: remove arm_perf_pmu_ids 
global enumeration)
Merging davinci/davinci-next (fe0d422 Linux 3.0-rc6)
Merging