Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3383796rwb; Tue, 16 Aug 2022 01:49:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR6I1BIvAY1UaKXI5qI8nfSNfXxWkiN/zLMBg3VUmb2LeIvk5z05VMCvFkrePO+TJPB8mgAu X-Received: by 2002:a17:902:b60e:b0:171:51ec:82c2 with SMTP id b14-20020a170902b60e00b0017151ec82c2mr20764370pls.9.1660639783808; Tue, 16 Aug 2022 01:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660639783; cv=none; d=google.com; s=arc-20160816; b=SbOL4fCa1x+tORnRqoKtA4CKDhoKGQ5PXmIYsZYEzogMaDo6w4I9f20GZIdcfZ7K9q POycIcXz/hebM00X5XiDofCkqJidsMLCvZ720VeGUfU7lMg2UnSPXc7fjGXQQyeff6iW O/gVvul9leTiIU4a3l9dAX8ztxJBiwE0DWOOsmib29d8pYq3vsQCjsF/z8vV+FlendAU ahb7QRCnBOEV94G2DsW+LLSq9thqPLa/6LTya5VhlAEdIbRMHsrXnVrCIS6P3gkoZYTE pdlJqyc17ORt/ShBR/OC9lb5KV/Ylsk8vI9a5FFl/VLMOZS7bVvlapsNHBzq52U8KNOd dC2A== 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=jy6xmsOjEA2Va/wNOYVF/8wst1Di1Hg7OHE3XzBlbbw=; b=dX0PkBLO2ud59MiNyF2QqOLiG6Z+x105SjbJwD5/ZUXexRyHDKsP1eEYHmRBCs/725 BcV/I14I6YVYztZ89mKAtbee7hCi/Zb6WBR/kZmgjBVUMVSbXKmSagfH8jpQTB6pTRTd PZim54luw+cV6on6EC16zYPf/7nMpjPZkkHEZy5Iu0Ot+j92R3ldYT19oPWL/3utN7Po wyM26dqLjdEZZx8/0INNChO5hCV4WAIruiMW9/g72vfwm2uyLXXzVByIDbxlaBcbkmKA /6EKTgz0P/gGt9OZErk79Vk90BE8jPkDafnq39v+sT6ErF4bOouJOlXMrYQoV1+Sfcsp xfqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ljones.dev header.s=fm2 header.b=f8mb6KOm; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WxDkgwfl; 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 p2-20020a056a000b4200b0052dc2d8220esi13911039pfo.167.2022.08.16.01.49.32; Tue, 16 Aug 2022 01:49:43 -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=f8mb6KOm; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WxDkgwfl; 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 S231557AbiHPIPP (ORCPT + 99 others); Tue, 16 Aug 2022 04:15:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbiHPIOo (ORCPT ); Tue, 16 Aug 2022 04:14:44 -0400 Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 694DBB2494; Mon, 15 Aug 2022 23:21:27 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id EF26D5C00D9; Tue, 16 Aug 2022 02:21:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 16 Aug 2022 02:21:23 -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=1660630883; x= 1660717283; bh=jy6xmsOjEA2Va/wNOYVF/8wst1Di1Hg7OHE3XzBlbbw=; b=f 8mb6KOmAZ79IMZEWUx+YYQgDjG3pM2Od7tcVe2Czx4wLSiKMCLPwGhTVsozbJndh CbR9zxZjfuSbUFBedV1S0xgP1sf1+wuaGv2olaZmU0EyZxdg8poOjoacUJ1pynwr eGPauIDzNi7VWOFI+8GOTZCqAreMYzgnN94o73ZjylDtDEUglsCy7l4S6XLcEIjj GPcG+cAzKseunXaVGNQKXLlEBNsZ/j7/NE1SJpR0mlb4By7Cc5p7V1kZUbkhGgH0 5g15RN9BZaktlZ0V8BWlAcrf7roHE6SdhTR9l7666wV/2ps8xjQMfFF3opClwv5M 1DlSgX53H7Din23pXLnPQ== 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=1660630883; x= 1660717283; bh=jy6xmsOjEA2Va/wNOYVF/8wst1Di1Hg7OHE3XzBlbbw=; b=W xDkgwflJ2OlqqhsqlbQ0RK1cYVY5u+6p83MBO4c7NlcmcVLbhUEr6EphS9kWtpky lrSiWch7/VpKo+Jx5vgzbHPjz4tgBz5YhbFrGFs4CDQuD7nIpLAWQTHsiBRBDAgS Mh4yBjtlPmuVNiGD7A304LzY1I6Sx8pqNgDorH7U8UbAmoSQSivJD4KIG2UvlTxo H9spb6QuGk+GT+njYZDaGS2nKLrxAPUDAXmOqbR76gJQz9pz3JE+rbPLWRRoMTL0 rXQT9nNeg7Lpva8htHaqH/BTI0g0RYQGMSsULaKM4G1C+wDXuAWwatrYXseehyl7 qea1X2G3usWbN6eQLfCvw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehfedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkuffhvfevffgjfhgtgfgfggesthhqredttderjeenucfhrhhomhepnfhu khgvucflohhnvghsuceolhhukhgvsehljhhonhgvshdruggvvheqnecuggftrfgrthhtvg hrnhepteegteefhefhteegleejudfffffghfekleeijeeugfffteeiudefvdetteeuuedv necuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Aug 2022 02:21:20 -0400 (EDT) Message-ID: <449cf9505daeb7b49deb199c101eb7b94e518ea7.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:21:10 +1200 In-Reply-To: References: <20220812222509.292692-1-luke@ljones.dev> <20220812222509.292692-2-luke@ljones.dev> 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 > 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 > and I will make similar changes to patch 2/6 and 3/6 >=20 Ah thank you, sorry about that, I thought I got it correct Perhaps I didn't read https://www.kernel.org/doc/html/v4.17/process/submitting-patches.html#descr= ibe-changes well enough. > > --- > > =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/devic= es/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 - Enabl= e 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 - Disab= le 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