Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757518Ab3C3BIi (ORCPT ); Fri, 29 Mar 2013 21:08:38 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:51353 "EHLO mail-ie0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754127Ab3C3BIg (ORCPT ); Fri, 29 Mar 2013 21:08:36 -0400 MIME-Version: 1.0 In-Reply-To: <11307583.LtSeEfeXbs@vostro.rjw.lan> References: <1364444938-19801-1-git-send-email-yinghai@kernel.org> <2045510.EK2WTuFZxV@vostro.rjw.lan> <11307583.LtSeEfeXbs@vostro.rjw.lan> Date: Fri, 29 Mar 2013 18:08:35 -0700 X-Google-Sender-Auth: GbQ5J8gNIbOjYRyLYUmc4-Jp9_w Message-ID: Subject: Re: [PATCH] PCI, ACPI: Don't query OSC support with all possible controls From: Yinghai Lu To: "Rafael J. Wysocki" Cc: Bjorn Helgaas , "linux-pci@vger.kernel.org" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 26 On Fri, Mar 29, 2013 at 6:12 PM, Rafael J. Wysocki wrote: > On Friday, March 29, 2013 06:02:45 PM Yinghai Lu wrote: >> On Fri, Mar 29, 2013 at 5:36 PM, Rafael J. Wysocki wrote: >> >> - /* Run _OSC query for all possible controls. */ >> >> - capbuf[OSC_CONTROL_TYPE] = OSC_PCI_CONTROL_MASKS; >> >> + /* Run _OSC query only with existing controls. */ >> >> + capbuf[OSC_CONTROL_TYPE] = root->osc_control_set; >> > >> > I suppose we can do that, but then why this should be root->osc_control_set and >> > not just 0? >> >> in case query support and set control are called in mixed sequence. > > OK, that's a good enough reason I think. > > I'm kind of afarid of regressions that may result from this, though, so I'm > going to queue it up for 3.10. Ok, Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/