Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3366955rwb; Tue, 16 Aug 2022 01:22:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR5uAr1fEnmVO2GBzFffuPHR/RxII2yIQPwD+Bl0/dTrrSg+PVjKxibKZZJtuKizD+VbmUrN X-Received: by 2002:a17:907:75dc:b0:730:9c68:9a2e with SMTP id jl28-20020a17090775dc00b007309c689a2emr13188063ejc.22.1660638161283; Tue, 16 Aug 2022 01:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660638161; cv=none; d=google.com; s=arc-20160816; b=FcNEvufeou56b8Hho+SObKzFihY0kMmElfgh0EJjUmeAIZmc9uL/sYTfn4Pnc8MDWF mTQ95MbW81neR8dWW/V4e7s7KuZvxD6WyXy2wjc4EhAEUWgVEA7z6DXVG7CygBhU08Pn fFqJRt/02M6it1s5tT/Pc0o/dQ6NiHILSsDYFG8GzC/tNqjUFvhkJ3jPh3u9iJsctQYO tjfwCgjx5QUOCwNpW7dhHyCcB+i/BTnVmktCZ0pyt9nIIM8En7UyxamJfsGAGA6Ha2VG Na007/BISgm6Fjwc8ET8Ae/YsMmF0aHRQpe/h3QwbJbF4DyhYGNTqAp+uc6+Wtr8gA7J dX4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:feedback-id:dkim-signature:dkim-signature; bh=VuiWkrx0WjSNrdBUNlnlS2OD/zEWL0zC5/S13h+8Guk=; b=FKaEYWO583JOa9d6lDYXBwyHBRMSLMVcwju1TC0M1De156dWBEtZKBNXrDXY4GlbRp zMGk3dxOeKjpBO5U7lZvjyKM7bmDZvLCWfBbBXZRaiGc/Yw93Rm2ij5og1dP+5TpmDa+ wyCYWodaynfH6XVPCd+fKD0iuO+xEfokaJBvXJj7RzTYGm1C6oQLo09Y+2gPpDNUKJVc IWdpsVWjZ2481QPGHuy7z6c+zWjfjDcBb/moWWByAxX0t2SI6Yt5tyYMLjiKWmLznl/X x+vzvSeq1aHT7eA8Gr4VRZ+uA1Ee3KnMpcvvJHy7QFX47XIA+G0p75yr1IfmWO3huoDk E9DQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm2 header.b="ZK/u0Gv6"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ry15Pzl9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs35-20020a1709073ea300b00730870cb4b6si9269288ejc.621.2022.08.16.01.22.15; Tue, 16 Aug 2022 01:22:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm2 header.b="ZK/u0Gv6"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=ry15Pzl9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbiHPIOZ (ORCPT + 99 others); Tue, 16 Aug 2022 04:14:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232354AbiHPINr (ORCPT ); Tue, 16 Aug 2022 04:13:47 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E952BB682; Mon, 15 Aug 2022 23:23:23 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E20055C01BF; Tue, 16 Aug 2022 02:23:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 16 Aug 2022 02:23:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1660631002; x= 1660717402; bh=VuiWkrx0WjSNrdBUNlnlS2OD/zEWL0zC5/S13h+8Guk=; b=Z K/u0Gv6QyA0G7Im/MUYjWujaE6FWzgsjX134N54yWursw9wQQGfPeY3XSQCJk2Vs NKhGC+/7olLQZrRb/TQmPtj7n4PoHk8dqn32iC6qOyyHAFXGM6Y1PZK7hMtxHyvv dxYNyzImlIvPJwQQm8sEdRuHn+D8vV2zpy85YwQ5koLWBPalLsOaGVADV02CrB/h t1gNFnqCbTOGl5WLRmxA6DTUnDOB69lnIvGlxKP5Q43UmPmJ1PKpxe/+PFLPTsko 2q5EL6BgG8ehrrd297cqVQaGXKUEMUSKicYj/Tgf16MZ57Ba7QHTDyCdLn5RV+1t ZuaVWtjkgZBiYpg1cdkcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1660631002; x= 1660717402; bh=VuiWkrx0WjSNrdBUNlnlS2OD/zEWL0zC5/S13h+8Guk=; b=r y15Pzl98naqAJIa+zfs5IXlw4hqmnb/smRxFK6dnO+Es6kE4Himp48XoN4Svs+Ha aXOo6R8TW9AoE3h3R8UvavJ5VsJYLHUEXANkFHKWhjY87mkqlZrNliaZDECRpXxZ e8xwm53qTlLH0vGYZ32wqMmKDwi2hFJlgRPz1RpLzNVJ9mDTlYf8moCw58TB2DSe XwonI+mZKa3oYkrs1zNce326CpcMYG7H7qKLqsBrTuC93Au3rhAuytS3HNBSpxVK frN8rWOV4wVTkkFM8m3wiDGYVIHdT0HfiB0dLvC49oXfNtEqQ08x1JAFzhwprjdb D0SJrZ54WXN1iPIyuRbwA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehfedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkuffhvfevffgjfhgtgfgfggesthhqredttderjeenucfhrhhomhepnfhu khgvucflohhnvghsuceolhhukhgvsehljhhonhgvshdruggvvheqnecuggftrfgrthhtvg hrnhepkeefffeujeevueejueegleelhedtgedvledukedttdffhfeifeelvdduheefjeei necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhhukh gvsehljhhonhgvshdruggvvh X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Aug 2022 02:23:20 -0400 (EDT) Message-ID: <14bed619e6a884f37403ec58aead34ff86525f26.camel@ljones.dev> Subject: Re: [PATCH 1/6] Fixes 98829e84dc67 ("asus-wmi: Add dgpu disable method") From: Luke Jones To: Hans de Goede Cc: markgross@kernel.org, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 16 Aug 2022 18:23:13 +1200 In-Reply-To: <657998b3-0f26-9a66-8191-713715622c01@redhat.com> References: <20220812222509.292692-1-luke@ljones.dev> <20220812222509.292692-2-luke@ljones.dev> <657998b3-0f26-9a66-8191-713715622c01@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2022-08-15 at 15:40 +0200, Hans de Goede wrote: > Hi, >=20 > On 8/15/22 15:25, Hans de Goede wrote: > > Hi Luke, > >=20 > > On 8/13/22 00:25, Luke D. Jones wrote: > > > The dgpu_disable attribute was not documented, this adds the > > > required documentation. > > >=20 > > > Signed-off-by: Luke D. Jones > >=20 > > Thanks for the patch. Note that the Fixes tag should be above your > > signed-off-by and then the patch should otherwise have a normal > > subject + body. I've changed the commit msg to the following > > while merging this: > >=20 > > """ > > platform/x86: asus-wmi: Document the dgpu_disable sysfs attribute > > =C2=A0=C2=A0=C2=A0=20 > > The dgpu_disable attribute was not documented, this adds the > > required documentation. > > =C2=A0=C2=A0=C2=A0=20 > > Fixes 98829e84dc67 ("asus-wmi: Add dgpu disable method") > > Signed-off-by: Luke D. Jones > > """ >=20 > While merging this I noticed that this is also using spaces > instead of tabs for indentation, where as the rest of > the file is using tabs. >=20 > I've also fixed this up while merging, but next time > please make sure to use spaces. >=20 > I will make similar spaces -> tabs changes to patch 2/6 and 3/6 >=20 I ran these through ./scripts/checkpatch.pl... I'm really not sure what happened. I'll triple-check that in future. > Regards, >=20 > Hans >=20 >=20 >=20 >=20 > > > --- > > > =C2=A0Documentation/ABI/testing/sysfs-platform-asus-wmi | 9 +++++++++ > > > =C2=A01 file changed, 9 insertions(+) > > >=20 > > > diff --git a/Documentation/ABI/testing/sysfs-platform-asus-wmi > > > b/Documentation/ABI/testing/sysfs-platform-asus-wmi > > > index 04885738cf15..0f932fd60f4a 100644 > > > --- a/Documentation/ABI/testing/sysfs-platform-asus-wmi > > > +++ b/Documentation/ABI/testing/sysfs-platform-asus-wmi > > > @@ -57,3 +57,12 @@ Description: > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= * 0 - default, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= * 1 - overboost, > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= * 2 - silent > > > + > > > +What:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /sys/dev= ices/platform//dgpu_disable > > > +Date:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Aug 2022 > > > +KernelVersion: 5.17 > > > +Contact:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "Luke Jones" > > > +Description: > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 Disable discrete GPU: > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * 0 - En= able dGPU, > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * 1 - Di= sable dGPU, > > > \ No newline at end of file > >=20 > > Next time please make sure the file always ends with a newline > > even in intermediate patches. > >=20 > > Regards, > >=20 > > Hans > >=20 > >=20 >=20