Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Gabriele Mazzotta
On 22/10/2015 16:17, Pali Rohár wrote: On Thursday 22 October 2015 15:43:46 Gabriele Mazzotta wrote: It's the F2 key. Depending on the value passed to the RBTN, it acts as hw slider or sw toggle. Ok, we have differences in terminology and everybody understood this problem differently. To cor

Re: [PATCH v7] platform:x86: add Intel P-Unit mailbox IPC driver

2015-10-22 Thread Darren Hart
On Thu, Oct 22, 2015 at 03:18:16PM +, Zha, Qipeng wrote: > >Is the ASL fragment you provided collected from a running Linux system using > >acpidump? If so, then the resources ACPI advertises to the OS are not > >actually available... and that can't be acceptable. > This is real ASL code I got

RE: [PATCH v7] platform:x86: add Intel P-Unit mailbox IPC driver

2015-10-22 Thread Zha, Qipeng
Darren, Andriy: Thanks for your kind review, try to make clear as below. +Gavin, Our BIOS developer. On Thu, Oct 22, 2015 at 01:01:32AM +, Zha, Qipeng wrote: > >>Qipeng, can you comment on my understanding of the DSDT and the driver? > >> > // Memory32Fixed (ReadWrite, 0x, 0x00

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Pali Rohár
On Thursday 22 October 2015 15:43:46 Gabriele Mazzotta wrote: > It's the F2 key. Depending on the value passed to the RBTN, it acts as > hw slider or sw toggle. Ok, we have differences in terminology and everybody understood this problem differently. To correct this situation, first define about

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Gabriele Mazzotta
On 22/10/2015 15:02, Darren Hart wrote: On Thu, Oct 22, 2015 at 12:54:33PM +0200, Gabriele Mazzotta wrote: On 22/10/2015 12:50, Pali Rohár wrote: On Thursday 22 October 2015 12:44:08 Gabriele Mazzotta wrote: On 22/10/2015 10:51, Pali Rohár wrote: On Thursday 22 October 2015 10:26:47 Gabriele

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Darren Hart
On Thu, Oct 22, 2015 at 12:54:33PM +0200, Gabriele Mazzotta wrote: > On 22/10/2015 12:50, Pali Rohár wrote: > >On Thursday 22 October 2015 12:44:08 Gabriele Mazzotta wrote: > >>On 22/10/2015 10:51, Pali Rohár wrote: > >>>On Thursday 22 October 2015 10:26:47 Gabriele Mazzotta wrote: > I'll see i

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Gabriele Mazzotta
On 22/10/2015 12:50, Pali Rohár wrote: On Thursday 22 October 2015 12:44:08 Gabriele Mazzotta wrote: On 22/10/2015 10:51, Pali Rohár wrote: On Thursday 22 October 2015 10:26:47 Gabriele Mazzotta wrote: I'll see if I can find a batter way to deal with this problem, dell-laptop can detect the pr

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Pali Rohár
On Thursday 22 October 2015 12:44:08 Gabriele Mazzotta wrote: > On 22/10/2015 10:51, Pali Rohár wrote: > >On Thursday 22 October 2015 10:26:47 Gabriele Mazzotta wrote: > >>I'll see if I can find a batter way to deal with this problem, > >>dell-laptop can detect the presence of an hardware switch. >

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Gabriele Mazzotta
On 22/10/2015 10:51, Pali Rohár wrote: On Thursday 22 October 2015 10:26:47 Gabriele Mazzotta wrote: I'll see if I can find a batter way to deal with this problem, dell-laptop can detect the presence of an hardware switch. dell-rbtn.ko has acpi method CRBT which returns if notebook has hw swit

Re: [Bug 105051] Radeon sets max_brightness to -1, breaking GNOME backlight control on Macbook Pro mid-2015 11,5

2015-10-22 Thread Darren Hart
Bruno, can you please have a look at the following regression attributed to: 4eebd5a apple-gmux: lock iGP IO to protect from vgaarb changes 2015-03-18 (7 months ago), Bruno Prémont On Thu, Oct 15, 2015 at 04:47:13AM +, bugzilla-dae...@bugzilla.kernel.org wrote: > https://bugzilla.kernel.o

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Darren Hart
On Thu, Oct 22, 2015 at 10:27:22AM +0200, Pali Rohár wrote: > On Thursday 22 October 2015 10:17:25 Darren Hart wrote: > > On Wed, Oct 21, 2015 at 01:12:43PM +0200, Darren Hart wrote: > > > From what I can tell, the XPS 13 has a TOGGLE type rfkill button > > > (Fn-PrtScrn): > > > > > > http://www.

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Pali Rohár
On Thursday 22 October 2015 10:26:47 Gabriele Mazzotta wrote: > I'll see if I can find a batter way to deal with this problem, > dell-laptop can detect the presence of an hardware switch. dell-rbtn.ko has acpi method CRBT which returns if notebook has hw switch or toggle key. And rfkill implement

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Darren Hart
On Thu, Oct 22, 2015 at 10:28:21AM +0200, Gabriele Mazzotta wrote: > 2015-10-22 10:17 GMT+02:00 Darren Hart : > > On Wed, Oct 21, 2015 at 01:12:43PM +0200, Darren Hart wrote: > >> From what I can tell, the XPS 13 has a TOGGLE type rfkill button > >> (Fn-PrtScrn): > >> > >> http://www.trustedreview

RE: [PATCH v7] platform:x86: add Intel P-Unit mailbox IPC driver

2015-10-22 Thread Shevchenko, Andriy
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Thursday, October 22, 2015 11:05 AM > To: Zha, Qipeng; Rafael Wysocki > Cc: Shevchenko, Andriy; platform-driver-x86@vger.kernel.org; Westerberg, > Mika > Subject: Re: [PATCH v7] platform:x86: add Intel P-Unit mai

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Gabriele Mazzotta
2015-10-22 10:17 GMT+02:00 Darren Hart : > On Wed, Oct 21, 2015 at 01:12:43PM +0200, Darren Hart wrote: >> From what I can tell, the XPS 13 has a TOGGLE type rfkill button >> (Fn-PrtScrn): >> >> http://www.trustedreviews.com/dell-xps-13-2015-photos-11 > > The reporter states his radio toggle is on

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Pali Rohár
On Thursday 22 October 2015 10:17:25 Darren Hart wrote: > On Wed, Oct 21, 2015 at 01:12:43PM +0200, Darren Hart wrote: > > From what I can tell, the XPS 13 has a TOGGLE type rfkill button > > (Fn-PrtScrn): > > > > http://www.trustedreviews.com/dell-xps-13-2015-photos-11 > > The reporter states h

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Gabriele Mazzotta
2015-10-22 9:49 GMT+02:00 Darren Hart : > On Wed, Oct 21, 2015 at 08:53:36PM +0200, Gabriele Mazzotta wrote: >> 2015-10-21 13:42 GMT+02:00 Gabriele Mazzotta : >> > 2015-10-21 13:12 GMT+02:00 Darren Hart : >> >> On Wed, Oct 21, 2015 at 01:00:59PM +0200, Pali Rohár wrote: >> >>> On Wednesday 21 Octob

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Darren Hart
On Wed, Oct 21, 2015 at 01:12:43PM +0200, Darren Hart wrote: > From what I can tell, the XPS 13 has a TOGGLE type rfkill button (Fn-PrtScrn): > > http://www.trustedreviews.com/dell-xps-13-2015-photos-11 The reporter states his radio toggle is on F2, so it is not the above machine, probably this o

Re: [PATCH v7] platform:x86: add Intel P-Unit mailbox IPC driver

2015-10-22 Thread Darren Hart
On Thu, Oct 22, 2015 at 01:01:32AM +, Zha, Qipeng wrote: > >>Qipeng, can you comment on my understanding of the DSDT and the driver? > >> > // Memory32Fixed (ReadWrite, 0x, 0x1000, BAR1) // > >> > SSRAM > >> > Memory32Fixed (ReadWrite, 0x, 0x1000, MDAT)

Re: [Bug 106031] Regression in 4.2.x: in airplane mode each time I open my laptop lid

2015-10-22 Thread Darren Hart
On Wed, Oct 21, 2015 at 08:53:36PM +0200, Gabriele Mazzotta wrote: > 2015-10-21 13:42 GMT+02:00 Gabriele Mazzotta : > > 2015-10-21 13:12 GMT+02:00 Darren Hart : > >> On Wed, Oct 21, 2015 at 01:00:59PM +0200, Pali Rohár wrote: > >>> On Wednesday 21 October 2015 11:19:54 Pali Rohár wrote: > >>> > On