Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp250153rdf; Tue, 21 Nov 2023 01:19:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG39HdlwpeRIgW3RrC6HgDKF/r+UWDqtXBtX2JzjI7rhkG3yBcDiuHaUweFrPR7KGLJlEcR X-Received: by 2002:a9d:4d84:0:b0:6bd:b5f7:187a with SMTP id u4-20020a9d4d84000000b006bdb5f7187amr10961091otk.20.1700558352503; Tue, 21 Nov 2023 01:19:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700558352; cv=none; d=google.com; s=arc-20160816; b=m57v/A6p2Wgsjccz2W+XdLmq85Erfd5rNXaLpcPnwRuh7mGN6MKGF6A6pXoyEycy42 NcqaTwlOHzJPve7Zw1W6O9NsAKfWeGMNDPYQZGxDM1cYqiWyj600k39miWZhtnKW2qZt a+hSL5FX58FGVe9Z5eRnuy+Sf74FQjcc2msnN2yiQlSPIxLkeA54nFvzgmFYebFT5X8f f5dQP4jz24d8J1XNkxZ+nOMcs8uQUhtM2xcRVtr37USlnzm0xZRYrB4xtCEIG4ge5mPf FTifZk9QoExP9Wu40CxEsXK6qpYqNr56iquZNdP3cYFk0f3l63nyXOGmOYFhuRQMrE3i sJQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ceeIft9aBbPog5vyCKc83wSaVLme5/8S1x55Sh+7Brg=; fh=6jP7T79+So23Po/6O+ZoscHK/C/wPTPmT7fssuxmGOI=; b=woR9/HFbKqPhVgBwP/KCBUNqeD0/Fj21a2NUPANmKNROZxMHI3ONrUvJFd+Z4Gmpoj x/eKy73pJ5cdzYjVn/ZNFc4783WCl/eWn4ipMsNgFctPBC3IP6J8JZ49quzLxnUjoWlF j2ffa5hjNIJ8fmKWuDBBXYkvquvNyngWa0zJ5yLXMjFCW+esacjOJQUS/kYFyDEVSuOn SM3kTwIQr5MS0gkHRwF+cFs1GYYSvja0nOSE84ucaBLSRsRbT1Zq6Lnnc65Mpb6Ry80S 6iNPYfsudgKGAspwuHrv1De3hhTImKyPFN0bWU/uncVpR29r+3rhX1zacVjJsqCJ3bbU DTew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d24-20020a634f18000000b005859e22461csi10338726pgb.817.2023.11.21.01.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:19:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6F070803A597; Tue, 21 Nov 2023 01:19:11 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231419AbjKUJTL (ORCPT + 99 others); Tue, 21 Nov 2023 04:19:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230243AbjKUJTK (ORCPT ); Tue, 21 Nov 2023 04:19:10 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 847C8C1; Tue, 21 Nov 2023 01:19:06 -0800 (PST) Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1r5MuO-0008PA-QI; Tue, 21 Nov 2023 10:19:04 +0100 Message-ID: Date: Tue, 21 Nov 2023 10:19:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Fwd: sysfs: cannot create duplicate filename .../system76_acpi::kbd_backlight/color Content-Language: en-US, de-DE To: Takashi Iwai , Jean-Jacques Hiblot Cc: Bagas Sanjaya , Linux Kernel Mailing List , Linux Regressions , Linux LEDs , Tim Crawford , Jeremy Soller , System76 Product Development , Lee Jones , Pavel Machek , =?UTF-8?Q?Johannes_Pen=C3=9Fel?= References: <87sf50pm34.wl-tiwai@suse.de> From: Thorsten Leemhuis In-Reply-To: <87sf50pm34.wl-tiwai@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1700558346;75c0193b; X-HE-SMSGID: 1r5MuO-0008PA-QI X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:19:11 -0800 (PST) Takashi, Jean-Jacques Hiblot, Lee, On 20.11.23 14:53, Takashi Iwai wrote: > On Mon, 06 Nov 2023 14:19:08 +0100, > Bagas Sanjaya wrote: >> On Sat, Nov 04, 2023 at 01:01:56PM +0100, Jean-Jacques Hiblot wrote: >>> On 29/10/2023 02:48, Bagas Sanjaya wrote: >>>> On Thu, Oct 26, 2023 at 02:55:06PM +0700, Bagas Sanjaya wrote: >>>>> The culprit seems to be commit c7d80059b086c4986cd994a1973ec7a5d75f8eea, which introduces a new 'color' attribute for led sysfs class devices. The problem is that the system76-acpi platform driver tries to create the exact same sysfs attribute itself for the system76_acpi::kbd_backlight device, leading to the conflict. For testing purposes, I've just rebuilt the kernel with the system76-apci color attribute renamed to kb_color, and that fixes the issue. >>>> >>>> Jean-Jacques Hiblot, would you like to take a look on this regression, >>>> since you authored the culprit? > >>> The offending commit stores the color in struct led_classdev and exposes it >>> via sysfs. It was part of a series that create a RGB leds from multiple >>> single-color LEDs. for this series, we need the color information but we >>> don't really need to expose it it via sysfs. In order to fix the issue, we >>> can remove the 'color' attribute from the sysfs. >> >> OK, see you in the patch! > > Is there a patch available? Not that I know of. Could not find anything on lore either. > This bug hits for a few Logitech keyboard models, too, and it makes > 6.6 kernel unsable for them, as hid-lg-g15 driver probe fails due to > this bug: > https://bugzilla.kernel.org/show_bug.cgi?id=218155 > > We need a quick fix for 6.6.x. Given that Jean-Jacques Hiblot (the author of the culprit) and Lee (who committed it and sent it to Linus) know about this for a while already without doing anything about it, I wonder if someone should just send a revert to Linus (unless of course that is likely to introduce a regression on its own). Takashi, could you maybe do this, unless a fix shows up real soon? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: /me should have followed up on this earlier... :-/ -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.