Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp754151rbb; Sun, 25 Feb 2024 02:14:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVh9FI6knP170463C4csSlCNaKdgcw8iAb9dTYaEVT6AZhTMFBwG4waZI586UpgWY82VONCwNUnY8Vns+Y0XBd+kan9mq4V1rL4co3X+w== X-Google-Smtp-Source: AGHT+IHPrjKiKklsKMbpyNJ4kSR9zpWQAd9GU30RIE6x5aemsSSmMGtFw2fNoRLpkqMPVtY+2iNQ X-Received: by 2002:a05:6871:520c:b0:21f:cc34:ad6b with SMTP id ht12-20020a056871520c00b0021fcc34ad6bmr4666066oac.50.1708856051341; Sun, 25 Feb 2024 02:14:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708856051; cv=pass; d=google.com; s=arc-20160816; b=XrmAxa73mDZIK1aw7yAU/+st3LxOVChyZWYZZ27EERIVuVO46ItjUrCOTjly7vJt7V HyqMDjIJQQuTgxJuuPcHoEyJFo1sWByUw4h7OFJFoGXDwMwFHgvvtjKrcl5y/71j35j6 ztuRjuUoInnI87vE0/U7qYl8BuRlci6CvXkdLWJDP3v6FQ5EnSgyQrZepaKUjQsDggW0 XiYVvGtz6AsNA3pMqQy7/I7jps8R12+FvfJ+3SJRNg1OAncwDg9RZzjAIAxwtGGrimhJ NkHsGi3Nl1EALu/O157C+GtNQmOGB89I+rJoyA1WnoniAjmhaPG6k0KxtvSK9KRyyMGq ACPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=k16FhWqxIkb2YTFkDE1/tF23+cqblBHTs3vx4rzzstw=; fh=6f6fELFdgBDHUGHqCGe6PWGMYwpV2oGrQ9XphlN8GTc=; b=Uipu/+Hrr+Nq5y0+n6C3dxeywkrsvM2gdYAlyrC1AbSNNFT4iGAbKpMiKepP9yJrkS yfXwdxYvc0DOLIxIuocBPpMLlXINZRZu4gwONIvA60wqoyjZmG9OEJM8g71PG6jo8Y5z zsCKj/MN9djjT0x4uod61w0rakrEDXkCBdxTGWro+PRW237rdjLVYB0paKIG/7cbThGK XZmDhhX89YdtkNP1La3VFJy39eF8csB23yFsvAonOHvuLO6r4snMQL+KirMZq4VF5rH/ EworYUSH8CYnvsD1Df9DTa8XIoqHVNM+OXg1+j3/QvTcXJsbUR3C/uHbDA+eG0kEgTgH +QhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=QdyL4hhh; arc=pass (i=1 spf=pass spfdomain=gmx.net dkim=pass dkdomain=gmx.net dmarc=pass fromdomain=gmx.net); spf=pass (google.com: domain of linux-kernel+bounces-80032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h18-20020a656392000000b005dc48945ce7si2009043pgv.802.2024.02.25.02.14.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 02:14:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=QdyL4hhh; arc=pass (i=1 spf=pass spfdomain=gmx.net dkim=pass dkdomain=gmx.net dmarc=pass fromdomain=gmx.net); spf=pass (google.com: domain of linux-kernel+bounces-80032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=gmx.net 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4E504B20F7C for ; Sun, 25 Feb 2024 10:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D38A2F9FE; Sun, 25 Feb 2024 10:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmx.net header.i=wahrenst@gmx.net header.b="QdyL4hhh" Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (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 5BE24A50; Sun, 25 Feb 2024 10:13:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.15.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708856035; cv=none; b=beY53SHuBGbot85Q5/kD9gN3vGgqVj9ZQBACGxW0zvi9pb4s5OktqVgWD4vKoA6cjL49d519vpdlfjBkrL1hi5+2bAmhRD46OCZV4Z8HubGdQDDH2wl3cFEXL2DbkMEIRz4iH/ki0RD0Ae5gFg1qempgMHPWM8NC2FCz9FvoVWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708856035; c=relaxed/simple; bh=k16FhWqxIkb2YTFkDE1/tF23+cqblBHTs3vx4rzzstw=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=d+/QO9AXRKja9uT1jmQj22+jaqq1tu+3C6Tw/6fRwXEcmR0PuXHEzWJLhztvsqBarFDnmdrffVVYPzsxeQIJtomSSX+9yfVfDX9zbaEbGTV5u65SwkL2iOc37RJiDEA58GOlHVZFzb4y1gHQHl3uDBThxfDu2vQVfzy5f7SxEUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net; spf=pass smtp.mailfrom=gmx.net; dkim=pass (2048-bit key) header.d=gmx.net header.i=wahrenst@gmx.net header.b=QdyL4hhh; arc=none smtp.client-ip=212.227.15.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmx.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1708856027; x=1709460827; i=wahrenst@gmx.net; bh=k16FhWqxIkb2YTFkDE1/tF23+cqblBHTs3vx4rzzstw=; h=X-UI-Sender-Class:Date:Subject:From:To:Cc:References: In-Reply-To; b=QdyL4hhhIcyAi70n2oU1P8iQhO9yCosK2tzjp1VBrUJbeP8HleXQ4/HoaUlqaI94 DhPrL7m4jTH3vNTNSuVJI41p1raZwsawO2dHnkQtwel08ePOJF+tdJRr30+6c9Pye xGsQs5GUxeY5Q3HjV+XLTfvE1yva5lbp2qsUxus9ItqEWJb7NhfhiILdUAiYolW0w 0DWpCCHR6cisl1SNFzEQbURg39V+iTBcrV/2oMsEH/WMki4+HchSjj3+bNnkKJdlu vF1cIziL0RodjkJZyGJsajUsJ+d3Xa8/xgeYs9J5m+mWl8uzDrKXHNOBfvScJ/WM5 d2nNcUuiykzGQXGPWg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.167] ([37.4.248.43]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MPGW7-1rGsOk2mNR-00Pci2; Sun, 25 Feb 2024 11:13:47 +0100 Message-ID: Date: Sun, 25 Feb 2024 11:13:46 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: WARNING: fs/proc/generic.c:173 __xlate_proc_name Content-Language: en-US From: Stefan Wahren To: Linus Walleij , Bartosz Golaszewski , Kent Gibson Cc: "open list:GPIO SUBSYSTEM" , Geert Uytterhoeven , Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org References: <39fe95cb-aa83-4b8b-8cab-63947a726754@gmx.net> In-Reply-To: <39fe95cb-aa83-4b8b-8cab-63947a726754@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:jpOtRrxw+106IrW6klknzVTTu/LI1xSk7yCnXebeBBqzU2NtyvT i3URaB/2aZASJGvM85830xfTcFmuD8nnUNHZ04yKdBxcioy1hhK7oeDpjZhzP+F+52X1tGM YrMMxYBSsJedmuS8MxWBEZ7FONrbgDh7i6D7ltAFWN/hXPw2CSXE6YvXXgwsVEC0PJuQKw8 PpHalja3G067s+XUILp/A== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:7bPerityJsM=;jgVBouNgjDbPishgnt3wYrYMRiz cO2/gd1Up7p1NC1U5020LyHcNxywwIoOPCaaidIyMUYaHa5XRdAgkaSjNQ7cKHvheaVUbQ1IH 0skt7ehJEi7usgVIbINp7ugat/6r9Rsu3hZ/xbk41srz1ESyKeHn3w7mj8oAT7WaDB2jJeQHn cCwmrw8XSqQGK+eMn3UmklIMeWuIs0oEIpDRbW2Nd8kVF9tdRls1wt+pwLkZ2bnz32OILR6kw eikX1cYGmCCTBcK1Pn8RR7hZM/XubgU6uALlsSwl/1UCwet7fEj09XBtjAUU4QswGInvLvQCd ZnC/mNqTpHufljhdOG4b24PBUo8mVjeaQUE1d6Wx/7H5ou5QRu4h9deecSBvcK6zsoAgZi5LI pHK6XK6DR+lR0WzWgQMhfFu9DZULQYF81HmvOOUGezgL782qHFWdFuNH0ymO0vBBiCYFXFBYv nkhe5roTBVdpYrudSVgSq9NBFpNa4Yw20q2BuDpHRHfNyGROC3Q3oiaVhYajLMUsUE6R0TzdR Cx0DUCu4ktNFXOgyfu1zKQhgso3NHhfsRThnwAU2DvYZ3mGHlAyb9i2eE1OVKRsNdvhB22aFP f2Q+8YQyAeL1xhEAiH3L+hVtZbEsGH44BmqoE0wXxTmil4PWw7wiKuXe7D8f2KOGjBwt06Q3R TOaoZFwFq8f6V7N/98LdtNrkX0iIXECXQEjAL5MHMSAy1rI0WpXWN1PwHWKOHKj4fKUiMozJE 9bP4vL7PiIP7n5kmzhNAHNj51cZPIDFxTgrkTTrx5WdISbk9NMSILLPIlZf7w0UpUZ1T6Z00o R7ujKjnHBSe9aRClMdn/jxOy8sQjxi/0pWYOl0/kpIHZ4= Hi, [add lkml and linux-fsdevel] Am 10.02.24 um 11:06 schrieb Stefan Wahren: > Hi, > we are using libgpiod-2.0.1 with Linux 6.1.49 on our Tarragon hardware > platform. Recently we implemented an application which waits for GPIO > interrupts and we were able to trigger a warning by naming the owner > of the GPIO as "R1/S1": > > WARNING: CPU: 0 PID: 429 at fs/proc/generic.c:173 > __xlate_proc_name+0x78/0x98 name 'R1/S1' > CPU: 0 PID: 429 Comm: cb_tarragon_dri Not tainted > 6.1.49-00019-g9dbc76303a17 #147 > Hardware name: Freescale i.MX6 Ultralite (Device Tree) > unwind_backtrace from show_stack+0x10/0x14 > show_stack from dump_stack_lvl+0x24/0x2c > dump_stack_lvl from __warn+0x74/0xbc > __warn from warn_slowpath_fmt+0xc8/0x120 > warn_slowpath_fmt from __xlate_proc_name+0x78/0x98 > __xlate_proc_name from __proc_create+0x3c/0x284 > __proc_create from _proc_mkdir+0x2c/0x70 > _proc_mkdir from proc_mkdir_data+0x10/0x18 > proc_mkdir_data from register_handler_proc+0xc8/0x118 > register_handler_proc from __setup_irq+0x554/0x664 > __setup_irq from request_threaded_irq+0xac/0x13c > request_threaded_irq from edge_detector_setup+0xc0/0x1f8 > edge_detector_setup from linereq_create+0x30c/0x384 > linereq_create from vfs_ioctl+0x20/0x38 > vfs_ioctl from sys_ioctl+0xbc/0x8b0 > sys_ioctl from ret_fast_syscall+0x0/0x54 > Exception stack(0xe0b61fa8 to 0xe0b61ff0) > 1fa0:=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 01b019b8 01a9f428 0000000d c250= b407 beeae888 > beeae880 > 1fc0: 01b019b8 01a9f428 01af7e40 00000036 beeaeb88 beeaeb80 beeaeb58 > beeaeb60 > 1fe0: 00000036 beeae868 b6a88569 b6a01ae6 > ---[ end trace 0000000000000000 ]--- > > I'm not sure where this should be fixed. > since the discussion seems to stuck here [1], i reposted my original mail to a wider audience. Regards [1] - https://lore.kernel.org/linux-gpio/20240213030409.GA35527@rigel/