Re: [PATCH] ACPI/PNP: add two IDs to list for PNPACPI device enumeration

2015-05-04 Thread Witold Szczeponik
On 04/05/15 16:33, Rafael J. Wysocki wrote: [snip] > > Queued up as a fix for 4.1, thanks! Thanks! > > But your e-mail client mangles whitespace. I used "git send-email"; and after quick look at the file I sent out I realized that the whitespace errors were already in the mail source and mus

[PATCH] ACPI/PNP: add two IDs to list for PNPACPI device enumeration

2015-05-01 Thread Witold Szczeponik
-v -h -E -e "^(LNX|PNP|ACPI)" $hids | sort -u) do grep -q \"$hid\" drivers/acpi/acpi_pnp.c || echo $hid done Signed-off-by: Witold Szczeponik diff --git a/drivers/acpi/acpi_pnp.c b/drivers/acpi/acpi_pnp.c index b193f84..ff6d8ad 100644 --- a/drivers/acpi/acpi_pnp.c

Re: [PATCH] PNP: Simplify setting of resources

2012-12-16 Thread Witold Szczeponik
On 15/12/12 01:17, Rafael J. Wysocki wrote: [snip] > Both patches queued up for submission as v3.8 material later in the cycle. Thanks! --- Witold > > Thanks, > Rafael > [snip] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

[PATCH] PNP: Handle IORESOURCE_BITS in resource allocation

2012-12-12 Thread Witold Szczeponik
7 as well as linux-pm.git/master as of 2012-12-12. Signed-off-by: Witold Szczeponik Reviewed-by: Bjorn Helgaas Index: linux/drivers/pnp/manager.c === --- linux.orig/drivers/pnp/manager.c +++ linux/drivers/pnp/manager.c @@ -18,11

[PATCH] PNP: Simplify setting of resources

2012-12-12 Thread Witold Szczeponik
as linux-pm.git/master as of 2012-12-12. Signed-off-by: Witold Szczeponik Reviewed-by: Bjorn Helgaas Index: linux/drivers/pnp/interface.c === --- linux.orig/drivers/pnp/interface.c +++ linux/drivers/pnp/interface.c @@ -2

Re: [GIT PULL] ACPI and power management updates for v3.8-rc1

2012-12-11 Thread Witold Szczeponik
Hi Rafael, please consider the inclusion of the two patches from https://lkml.org/lkml/2012/7/29/87 and https://lkml.org/lkml/2012/7/29/86, as discussed in our e-mail conversation on Oct 19 and 20. The patches apply without modification against 3.7 as well. (Since there is no change since 3.

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-10-19 Thread Witold Szczeponik
On 18/09/12 23:42, Rafael J. Wysocki wrote: > Hi, > > On Sunday, September 16, 2012, Witold Szczeponik wrote: >> Hi Rafael, >> >> what about the patches 1 and 3 which do not make any changes to the ABI? >> The first patch simplifies the code, while the third pa

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-10-14 Thread Witold Szczeponik
On 03/10/12 17:57, Witold Szczeponik wrote: [...] > > Len and Bjorn, > > any chances to include the patches in 3.7? I checked them > against 3.6 and they applied without any change. Or should > I resend them individually? > > Thanks. > > --- Witold

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-10-03 Thread Witold Szczeponik
On 18/09/12 23:42, Rafael J. Wysocki wrote: > Hi, > > On Sunday, September 16, 2012, Witold Szczeponik wrote: >> Hi Rafael, >> >> what about the patches 1 and 3 which do not make any changes to the ABI? >> The first patch simplifies the code, while the third pa

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-09-16 Thread Witold Szczeponik
Hi Rafael, what about the patches 1 and 3 which do not make any changes to the ABI? The first patch simplifies the code, while the third patch fixes a problem in the PNP resource allocation. Any chances to have them included in 3.7? --- Witold -- To unsubscribe from this list: send the line

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-08-02 Thread Witold Szczeponik
On 02/08/12 23:40, Rafael J. Wysocki wrote: > On Thursday, August 02, 2012, Witold Szczeponik wrote: >> On 02/08/12 22:09, Rafael J. Wysocki wrote: >>> On Monday, July 30, 2012, Borislav Petkov wrote: >>>> On Sun, Jul 29, 2012 at 09:31:53PM +0200, Witol

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-08-02 Thread Witold Szczeponik
On 02/08/12 22:09, Rafael J. Wysocki wrote: > On Monday, July 30, 2012, Borislav Petkov wrote: >> On Sun, Jul 29, 2012 at 09:31:53PM +0200, Witold Szczeponik wrote: >>> the aim is to select a PNP ACPI option where resources can be disabled >>> (or are not needed). E.g

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-08-02 Thread Witold Szczeponik
Hi all, the original mail should have been sent out as a reply to https://lkml.org/lkml/2012/7/29/85, but it seems as if I clicked the wrong button. Apologies for any inconvenience. --- Witold -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-08-02 Thread Witold Szczeponik
Hi Len and Bjorn, is there anything that needs to be done in order for the patch series to be included in either 3.6 or 3.7? Except for the (viable) question as to whether or not a sysfs interface should accept complex inputs (as it currently does and which is not introduced by this patch series

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-07-30 Thread Witold Szczeponik
> On Sun, Jul 29, 2012 at 09:31:53PM +0200, Witold Szczeponik wrote: > > the aim is to select a PNP ACPI option where resources can be disabled > > (or are not needed). E.g., the parallel port of the 600E can be used > > with and without IRQ lines. The means to allow f

Re: [PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-07-29 Thread Witold Szczeponik
On 29/07/12 21:22, Rafael J. Wysocki wrote: > Hi, > [... long snip ...] > > Do I understand correctly that you want to disable those things through > sysfs? > > Rafael > Hi Rafael, the aim is to select a PNP ACPI option where resources can be disabled (or are not needed). E.g., the paral

[PATCH V3 3/3] PNP: Handle IORESOURCE_BITS in resource allocation

2012-07-29 Thread Witold Szczeponik
ct, they should not be set by the user as the resource templates define the proper settings.) If the patch is not applied, the resource flags are not initialized properly and obscure messages in the kernel log have been seen ("invalid flags"). The patch is applied against Linux 3.5.x

[PATCH V3 2/3] PNP: Allow resources to be set as disabled

2012-07-29 Thread Witold Szczeponik
g of "disabled" IRQs like described in the commit 29df8d8f8702f0f53c1375015f09f04bc8d023c1, i.e., with this patch applied, some vintage IBM ThinkPads like the 600E can allocate the resources such that all devices can be used simultaneously. The patch is applied against Linux 3.5.x. Signed-off-by: Witold Sz

[PATCH V3 1/3] PNP: Simplify setting of resources

2012-07-29 Thread Witold Szczeponik
s. Placeholders for these patches can be found in the comment lines that contain the "TBD" marker. As the code does not make any changes to the ABI, no regressions are expected. NB: While at it, support for bus type resources is added. The patch is applied against Linux 3.5.x. Si

[PATCH V3 0/3] PNP: Allow PNP resources to be disabled (interface)

2012-07-29 Thread Witold Szczeponik
Hello everybody, this simple patch series continues the work begun in commit 18fd470a48396c8795ba7256c5973e92ffa25cb3 where ACPI PNP resource templates with empty/disabled resources are handled. The aim of this patch series is to allow to set resources as "disabled" using the "/sys/bus/pnp/