Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp531619lqb; Thu, 14 Mar 2024 20:45:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXmGao+MVW2JCep3xca83MwZmgq7eB9fVuGXrGw3zyt58vSxfhM1WmeD0m31fY/BP42SC4J7hx2/I4TQiWht12iqZyaJxgmaU3+kraxDg== X-Google-Smtp-Source: AGHT+IHzwclUq5dU86Khb1qhGR2f274i2AiA/3MHyybUsRkqK3oVlzA0DwHiNhhUv/noadl4RYEb X-Received: by 2002:a17:902:9a4a:b0:1de:e9b7:9e4e with SMTP id x10-20020a1709029a4a00b001dee9b79e4emr1309067plv.32.1710474299775; Thu, 14 Mar 2024 20:44:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710474299; cv=pass; d=google.com; s=arc-20160816; b=t3113PIkHWNlu6KLFMRmzblTe0RVt3wxVxHph63alrMA0T4qzQDhIge5tF0EVrhnU2 54I5dLeM4M68FUAmgZwZSnWEfMPucOnCqyH8girXE6qERxgBjQE7/6DGm9W0nhPaBK9L 6DQL9JVCu+c8hfWFqBbFssJSi7SoFvZ/c7MjFVz5jSbdMc3EnfwnCFN2Jc2nvfu6brPL PddeB0qQHhos64Kl0wHQ1oAkDnMrTpb7hM8CAlCenUJM8SKXC0mAhjL0RqxLV76583t6 U544M4QvvsgbsGR5taU/7mXq5D/ABS48zr4RImewomUW/qgQIPmqO5BcfnX+M5V2o6n9 Cyag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=6yhiK0T3M/mv1qJaDNYYpBRpuW+wgtid0VYYoXXfl+U=; fh=sMrcngVZ+eaToPzR/hXhFMBMukfvZbYy2r/FkX6kJi0=; b=U0q2n+dvb2qfuQ1dsbCsxIHU78tXcIxq1Q8W5vEQJPvh4CdPmLvxjMJcZ2UzKE0+k9 KiXfSt+1TqXn3A2jtk5+jDKbZn1qgFm/Pz9IQ2ANth12/+oa9MFDV50ODL0r98NmfunZ xSldI9fmg40G8n0et9rZvcQ1RhpjeKLC/OCJDUil7LFLgh9C8WyyL0Af+j84zMByzhTX DnrOI0r6GJTUhcZPQ01210HlR+NRqlwUxOA/vo9YCP3UrCCTOzuTzZS1SIRf46HVy6th emX2r4GNsRk5h4Bk7FwxMednO5oGx6wAMv1HQoAsMsoPGl9aKnVeoCc+f73K5esfbLnk KnbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0yMAhMOE; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-104032-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x5-20020a170902a38500b001dcc8769137si2644329pla.598.2024.03.14.20.44.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 20:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104032-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0yMAhMOE; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-104032-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 5806BB22E55 for ; Fri, 15 Mar 2024 03:42:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A1EFDDDD4; Fri, 15 Mar 2024 03:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="0yMAhMOE"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="j6KTCR0C" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 4D057D529; Fri, 15 Mar 2024 03:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710474123; cv=none; b=h6bxETXCSDkK2NL8hfNwLCuNY+rclrNnTy5t0+RWIZkf/4SASDn30g0ztyuqks5z1Hx5Fa78mi6SZv6fLWWEEyz9//GObNI9ze1yubUgph//Og5TmIjv2TinlSyUnIXl50fpOjlZBHa5ikz5F6t3sTx1tEchzRZbs3tbsp2qaRU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710474123; c=relaxed/simple; bh=qFwYzpyJJ4NK6tII7INFj3TlsiX1d4gDtSntFjvpnxQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Qsuf50bnKtO3PmvUO9GEnajKtxSSSqu3n7HOxRhXzhTDN7HiDvBC4Ca+6s/HgqCqWyw7C94PB3CPTSOTZyfSGWuoIC9bbJs5cLL/0MVLqjabceNJ+tE13918A03Pz0q5hYo3U19RWLiFpjNi3H0/HAhOx+ikIuQrttpzpOOPYUQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=0yMAhMOE; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=j6KTCR0C; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710474120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6yhiK0T3M/mv1qJaDNYYpBRpuW+wgtid0VYYoXXfl+U=; b=0yMAhMOEbDigULVlhnioC3kDJW7hKPnt5MVROKOUbtCq15FJrqGEf//R0KNZXPuhgFjQlX W6x/LXiDCIE8EvMMNFLreYKVDOdM6lYukX7ok1qdfRtjLPEkicXNKLHVhNfGs/DtiVMLRY vo6EPlht4RY/2850GIoUfk73wGBvO+OX/4mq6SKH4aBxXhKcl5Guu/+ebhzL0223NLTSRu xB4tsUOPQYFkIF32NabV5X8YwpwEunQHCv/leYIHq8gvAq+sdYNvp9A3Px4OIl4h5ZJy4M cFWs4mgOS6sHC6X4yZIJTZgjJdmd3+wo+Zg859xlproe2W1ILwezUVGKPgBw4Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710474120; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6yhiK0T3M/mv1qJaDNYYpBRpuW+wgtid0VYYoXXfl+U=; b=j6KTCR0CEeeEMN3bzbxcmzR7cnYgg9NedtTBGABTxroBgXXq5a+Iw/nJvJ0XJPSl98rIiO vs+cSWECFoDR1aBQ== To: Enlin Mu Cc: Enlin Mu , linux-kernel@vger.kernel.org, enlin.mu@unisoc.com, linux-hardening@vger.kernel.org Subject: Re: [PATCH] hrtimer:Add get_hrtimer_cpu_base() In-Reply-To: References: <87cyrxm7ua.ffs@tglx> <877ci5m3c4.ffs@tglx> Date: Fri, 15 Mar 2024 04:41:59 +0100 Message-ID: <87h6h8kvp4.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Mar 15 2024 at 11:12, Enlin Mu wrote: > Thomas Gleixner =E4=BA=8E2024=E5=B9=B43=E6=9C=8814= =E6=97=A5=E5=91=A8=E5=9B=9B 19:59=E5=86=99=E9=81=93=EF=BC=9A >> >> On Thu, Mar 14 2024 at 18:45, Enlin Mu wrote: >> > Thomas Gleixner =E4=BA=8E2024=E5=B9=B43=E6=9C=881= 4=E6=97=A5=E5=91=A8=E5=9B=9B 18:22=E5=86=99=E9=81=93=EF=BC=9A >> >> >> >> On Wed, Mar 13 2024 at 05:30, Enlin Mu wrote: >> >> > From: Enlin Mu >> >> > >> >> > On the Arm platform,arch_timer may occur irq strom, >> >> > By using the next_timer of hrtimer_cpu_base, it is >> >> > possible to quickly locate abnormal timers. >> >> > As it is an out of tree modules,the function needs >> >> > to be exproted. >> >> >> >> No. We are not exporting for out of tree code. >> > Can you explain it? >> >> Exporting functions or variables requires an in tree usecase. > > OK, Thanks, I got it. No, you did not get it at all. Q: Where is the actual in kernel use case which utilizes the exported symbol in a module? A: There is still none. For further clarification there will be none ever because you are violating all encapsulation rules of the kernel subsytems without providing at least an attempt of justification. Nothing outside of the timer core subsystem has any business to fiddle with this data structure ever. Period.