Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp251877lqb; Tue, 28 May 2024 14:38:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIGoSLuTYQABrNolIZA/jnCtE0TRogH5TK7Nmj1PBdGwDZXAE3vzGvkI0KAO7rYVzSEBd2D2G66RlbEtgzBTzZmQYkuZYsftb0+MEfPQ== X-Google-Smtp-Source: AGHT+IHENtlqKujkP+ptCPteFtZzspXqtUO0lmQX8brbCunY73Sm0pygfSEOzmZ9SoTfAst+rC8F X-Received: by 2002:a17:90a:f413:b0:2bd:e884:bc72 with SMTP id 98e67ed59e1d1-2bf5e944550mr13247039a91.5.1716932295988; Tue, 28 May 2024 14:38:15 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bf5fe86b0dsi8744500a91.166.2024.05.28.14.38.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:38:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193127-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=Xffkibkd; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-193127-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7F62C288443 for ; Tue, 28 May 2024 21:38:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5411017BB28; Tue, 28 May 2024 21:38:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="Xffkibkd" Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2041.outbound.protection.outlook.com [40.107.94.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A88D917BB3C; Tue, 28 May 2024 21:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.94.41 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716932282; cv=fail; b=W79fiP4TC+1JbUwgpSPz8RxIL+PQBggy+akxoQpPNY6z8lPZ9EnXbMwDpC9Y6ef06o19qdZ8r235yqvVe1hNsosf/jGJi22sxptIuz8+++2SlbD1AaLItr7fcdnMkRpmd9sxRG0fdCLxyNX5FHuCbf/QZyx2q16rSjnVDbIVoaM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716932282; c=relaxed/simple; bh=CWIrxfqnk3E/Hp0MiBK8AkBHAD4VZcyPmI4qZmNumE8=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=BMRABNhYNVXdxxowDWt14ktBW0KlKDo8i1azj9M7NAkOZ/NqHDqS77I3yuLaFov1zYPm5KJQmglab/V4aSYuwOi3+gOLSZCeWsON3Df+5UILHaQVSS6Xx1PP/3T2E3MEZMsJEKhOpPj6DAjAp4ggkEoe3N+bU22RZH1s9ZEOJ5k= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=Xffkibkd; arc=fail smtp.client-ip=40.107.94.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MtqW5hFlIrj4HMJeRxghe987FCYtdkpZ0iT4w5DGINSvztY/YWDSaODmWQCEiC/rpJUNBp9L4XRrf5XGZCL9q5ug0A+GXyDzATaa+Q7ooZbSklFp21PTySuKzsMpcjF410CuSE3fmOvEaW81qaiOUPkE8ZGLmrYAcgqad1WihTMWsocytRAM5MKOYP90+TC4h5bkWM9O/oNHM5kvm1j+ScNiSZWSywIBbL/hMyIjKfmohReV+11a3r3tJrK9crVADcOjI8gmQy2JBAdl5SoK20h937vJ9gss5SRqr+Ec228kg5czV2uCVXR4rzFXI1+1IFU11DkVnXVx1ql+pluhFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xEWL/cSvlQ6Qy6U2X4FW5FNKCUXON89uZtVTgjyjT+0=; b=ITVSwZAsDPOYYvKV012spDLAi3NtUe2EKY8H3SLsmmS/aVAIvlOQTLdKR11Vb2cpHyBOlCt544FX2Fnm+XwY0kIeu9Fs7fckv0mZB82mwsKyEXK+XiOlH1AmZs+OT+zVbw+zB2S8xFTPsouOuXK257mnZKSDUOlqKFBLbewWr1jmxzEjMOz+5+8A7YdZaVlDzBjZw8mvQOWeBJNE27+bQmppmC/aWP5N4OjFHYKVlooMmrJN1eH86lTkN7EdqzGmECdynN9YJiibymAdPupiY3mqITCOETbrJS6fS7TcFuqOVooFt/z62WMsbD83DqMciIDLptfVP2rjGcnTmXsa0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xEWL/cSvlQ6Qy6U2X4FW5FNKCUXON89uZtVTgjyjT+0=; b=Xffkibkdac/efeOhdqbtmSkeECrnEyUPHfqlwYgOYhDSO8imveQxENRuourUPtKZj97CfrbMpSoGNvfPWIp5kwvoi4+m/YN/2ml6hGtJYEAtiOWtzsPKEzVVGauLBpdjCXFvJidwgtb6At6Fzk/c3dF7bdiNWINDL9JlGts/z40= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by SJ1PR12MB6220.namprd12.prod.outlook.com (2603:10b6:a03:455::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Tue, 28 May 2024 21:37:58 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::37ee:a763:6d04:81ca%7]) with mapi id 15.20.7611.030; Tue, 28 May 2024 21:37:58 +0000 Message-ID: <1a33c7a6-a04d-4c53-b8f2-02431a1073b3@amd.com> Date: Tue, 28 May 2024 16:37:56 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 8/9] platform/x86: asus-wmi: add apu_mem setting To: Luke Jones , Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: corentin.chary@gmail.com, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, richard@hughsie.com References: <20240528013626.14066-1-luke@ljones.dev> <20240528013626.14066-9-luke@ljones.dev> <6f4bc109-00d0-47b0-a581-b96a6152545c@amd.com> <4d6b9171-7248-4937-87de-7e921ed8e507@app.fastmail.com> <5f4799b1-0606-46a9-a347-5a03738db341@amd.com> <371d4109-a3bb-4c3b-802f-4ec27a945c99@amd.com> <6d4e7f1e-ccd0-4ac5-b450-f9c5f8d5c90e@app.fastmail.com> Content-Language: en-US From: Mario Limonciello In-Reply-To: <6d4e7f1e-ccd0-4ac5-b450-f9c5f8d5c90e@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SA9PR13CA0116.namprd13.prod.outlook.com (2603:10b6:806:24::31) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|SJ1PR12MB6220:EE_ X-MS-Office365-Filtering-Correlation-Id: 32a3a304-d821-463d-9251-08dc7f5e7113 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NUpRK3crNHpIZG1la2p5ckFnUlZpeDZDUWVYdVhqNkJnVnF3TGlGSUhJTGx5?= =?utf-8?B?YlhJQzdaMWxrK0VqNHpESnVNRUt0b1d6R3VtNnRxL2I1b2QydUFMb2tXUGVN?= =?utf-8?B?QWVSY1R0aW1xNGx6Qk5aKzJSTlY2enBQeE05UXU3OHEzdmYrSmlMc3ErdHds?= =?utf-8?B?MXBUTjBzZE5YM3NpMEFhc25QY0J2RVJvdU1IRmo5Y2xzQmVibUc5d3JPSVhN?= =?utf-8?B?U09zcHlLM0t4aWE3YW82WC9VdTVVdzIwUy9TcVVja1RobGFYYzN6d0tiZjg5?= =?utf-8?B?empDanE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?= =?utf-8?B?ZzZYWEVZWDArUldoYnFHWlVSaWVGNHpRWGowNmxUdk1pdWF2ajgwaUZQbUp5?= =?utf-8?B?L0Jva2xWeThkbElRQTVGU0R3ci9aMUs3blkwdGR0cFV2MlhGR3JHMUlyZjFS?= =?utf-8?B?d2xSbmpyMlRCNnVPTWZOeFhPQUFPdEttendUcEZ6UFptNEs5ckRFVnl3ZmhV?= =?utf-8?B?NWhjdzdDdXJLSGE5SS9ObjFDd2lHWXVqOFViY2x1RDlTdFpSSmVMMnZpU1p0?= =?utf-8?B?d0ZSOHR3NlErMTZzV0xBbFp4OG8zcWtiTEtuRUhYOGxaSlRGZkpNNzdUSml0?= =?utf-8?B?NysxdkFLd053UUhLRmZ6VGlXcndqU01BK0dQalZkUXZ3U2NCcTFWQlNHUUg2?= =?utf-8?B?SzQvS3NaQTdaU0J1bDZYSkJ0bkJEVnBINmFKUDhjcFUwL1RlUUphaUpFR05O?= =?utf-8?B?alNSMkQwWm1SWEdPSkh4S1g2UU1tN0s5bUNxWVJrWS9LYzA5Q2sxWU1PbDBy?= =?utf-8?B?WXFJMG5rRFNmd21yL3VKM3ZVcmVERVVHdy94SGJDSlk4cysrQ04wMnRRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN0PR12MB6101.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZmM3NmNDcmZhTDZnZlZXVlNsYiswVWV3YzFRUHJjMWlYWUlWdkpvWVhiT0k5?= =?utf-8?B?eWxlZDBqZHZscS9JZzJCZlMwWGhMVTYvTmhZVGRobGRDRy9VUWtKUzlVUGQw?= =?utf-8?B?a2I5d1doeHB1RGRNVEN1UFhHWWVrMzhucW9tUVNpOG5mNEg2S2VQe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V0tXcDRiQWtMTHViQWpzckNUb210L3Y4TWc1Z2dVcTYrdzBH?= =?utf-8?B?Y3VQWHNPcFN3NVJhZ3JlRlMvS0lIZmxjVjFreGlPNUhuaWM2SFphdWcyMkVY?= =?utf-8?B?SjhSUWpRVXN3VkhvU0I0b1ZGTWE0ek9aSFV1QmFKYTk1MzdjVEVKNUVUSXRh?= =?utf-8?Q?ouP/wqgZmRAF99zspn3JW6R9c?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 32a3a304-d821-463d-9251-08dc7f5e7113 X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2024 21:37:58.1571 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9+30OgjTZDCEsx1GqtPZB6lAyMPXD6qJy+0lmOLjuk2Vjdi9Lt14SBzIESivsg0wSQ4MORc6dchUq00o4MYZUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6220 On 5/28/2024 16:34, Luke Jones wrote: > > > On Wed, 29 May 2024, at 9:16 AM, Mario Limonciello wrote: >>>> For any "new" attributes it's better to put them in that API than code >>>> duplication of the BIOS attributes API as well as a random sysfs file >>>> API that you can never discard. >>> >>> Do you mean the firmware_attributes API? If so, I'm not opposed to adding all the existing ROG attributes to it also. >>> >>> If I'm understanding the docs correctly, for example this apu_mem attr would then become: >>> - /sys/class/firmware-attributes/asus-bios/attributes/apu_mem/type >>> - /sys/class/firmware-attributes/*/attributes/apu_mem/current_value >>> - /sys/class/firmware-attributes/*/attributes/apu_mem/default_value >>> - /sys/class/firmware-attributes/*/attributes/apu_mem/display_name >>> - /sys/class/firmware-attributes/*/attributes/apu_mem/possible_values >>> - ..etc >>> >>> That's absolutely much better than what I've been doing and I wish I'd known about it sooner. >> >> Yup! And even better "fwupdmgr get-bios-setting" and "fwupdmgr >> set-bios-setting" [1] will work with bash completion too. >> >> If you want to build a GUI around it, it could use the fwupd dbus >> interface for getting those settings and manipulating them. > > My existing GUI effort revolves around me adding these attrs to both kernel and a dbus interface. So if I can drop that then all the better Awesome! You can either use libfwupd or the dbus interface. After you're done with the kernel work ping me or Richard if you have problems. > >> The dbus >> interface policy is protected by PK. > > What is PK? And I'm guessing this restricts users to requiring permissions to change settings? > Whoops forgot to respond to these. PK = PolicyKit.