From patchwork Thu Nov 28 08:31:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=DH+iMSFb; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=kZ8MO9nL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1d4dG7z1y01 for ; Thu, 28 Nov 2024 19:32:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AknM95+z+jjZp0vJz8AkHqSNRBV+Y5hjqLXKIcicOsI=; b=DH+iMSFb2aSLTQufiKGeZyevNN uYr+eGcGI4Xc/puqvv8SkNJZM8KLEXGMI3/jbAhP29Hd/qlwyT36m2Q1liRKmWTUSXfwSpyit9lth hNbRaJtomOHC8RD1GnqA8KbJHum3VB5ij0/wqUxPqDlGFijGoEv1waw31TGbiEDBNiPjfJNzbj2Vk TqidcMU5oYJFRb7kTe8MWWdv6CI4IYXj9xmQF9Xv7HihisAKze6n7q0dP09tOqnwfs96yt1Fx9Ulr nxINIY90h5mqGkTNFldNrVwkIdwFdOWtheIhm33QkQA60JUtMowQ2/jd4E9ao+f3k5NW50ssj5g2u TNwqepEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxE-0000000F0tC-08JM; Thu, 28 Nov 2024 08:32:52 +0000 Received: from out0-205.mail.aliyun.com ([140.205.0.205]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwE-0000000F0jO-0tel for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:31:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782707; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=AknM95+z+jjZp0vJz8AkHqSNRBV+Y5hjqLXKIcicOsI=; b=kZ8MO9nL4utTEDngrGgwRh/6SQLpwUOFzL8Nzaeat1sU0AbeU/+C9D8pY/ZgOBcmPXon6Leua/OS2ln1GfvBjVtWaH3m94dpcJOLC5zHPzwjezzcuNPT6tMShByKV42PLdYz+K5GTxL3CIwzcVHtJT37edraCUan66XTWvaIoAk= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WTQ_1732782705 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:46 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 1/9] um: Mark parse_host_cpu_flags as __init Date: Thu, 28 Nov 2024 16:31:29 +0800 Message-Id: <20241128083137.2219830-2-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_003150_439517_CF088748 X-CRM114-Status: UNSURE ( 7.59 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's only invoked during boot from get_host_cpu_features(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 62ddb865eb91..c5e91d3fb64e 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -264,7 +264,7 @@ EXPORT_SYMBOL [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.205 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.205 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.205 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.205 listed in sa-accredit.habeas.com] X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's only invoked during boot from get_host_cpu_features(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 62ddb865eb91..c5e91d3fb64e 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -264,7 +264,7 @@ EXPORT_SYMBOL(end_iomem); #define MIN_VMALLOC (32 * 1024 * 1024) -static void parse_host_cpu_flags(char *line) +static void __init parse_host_cpu_flags(char *line) { int i; for (i = 0; i < 32*NCAPINTS; i++) { From patchwork Thu Nov 28 08:31:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015988 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=SbXejcSF; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=o30KFDe9; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=f4HBPvKr; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1g3dLMz1yQp for ; Thu, 28 Nov 2024 19:32:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XKEGFG8+w9WlJCUH/FgkbRKeopIg1n27vSxZREUm2aQ=; b=SbXejcSF3i4HstATe6wsNtUjf9 AGqZ4otkq19X2wt4gCNjkQdoxUCP/6Wx3m+XGwrCPNIreUej7dGuKgWzNhDZx0R2zwo+KnLq6vbX4 V1y4qkEOO59sOFSYzubWZP+WT7gBIIj8Rvlr654FshY8L+0vTlbQxeEFcUAaoKhg5nt2l0Sowh0YZ SXXINtkTaZqd3aBUJY7CBqsnuXNRCwelMT2nKcDHHYKhQKcrC6mWIbQQWCf6Fc2Y27fEmWQa+3eg0 sim9loaT6Syx2kle6G6gtPkKbMt6kDaDrl+posux+alFAWAT5QceoaX80qjIZDAqyJb3pVXZxJNWY aPaxvJEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxF-0000000F0vj-3pWZ; Thu, 28 Nov 2024 08:32:53 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwW-0000000F0pp-2kt5 for linux-um@bombadil.infradead.org; Thu, 28 Nov 2024 08:32:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=XKEGFG8+w9WlJCUH/FgkbRKeopIg1n27vSxZREUm2aQ=; b=o30KFDe9S6UqzRv2dc3aQKvYYK CVSE/4FmciD5DQfCw8LLwxJ78wTOlP4vJJiMeRGf0pJx/QLqcDc74i+5zr6Mb9cCl0Pjtlzu+IXHh 3Sz9I3E/SjKoFwhLNwJPZSdCWcPSlFb53VIEJwtZ8ecs+VVQx9gpwOXccaSDcRRbZduACDcBa2+qd 8JUFj4EYeh+YfS4olGkqLnYsj3V7KcZu+UkWqVvKnMY7qpoXFd34uV2WhgSENJns/QW8B8iTWycjZ +jou7C2S6By/xiroK34oUWF4gK48gayF02NnvDy6KMT57YqlF/dxN9RnPTAKT8hxxJvIVQz4YrGnl c+wAFDpQ==; Received: from out0-198.mail.aliyun.com ([140.205.0.198]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwQ-00000001Yhk-2Yok for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:32:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782708; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=XKEGFG8+w9WlJCUH/FgkbRKeopIg1n27vSxZREUm2aQ=; b=f4HBPvKrXweOBqGHzhaUAt432xsdeN7IBLtoLsr04SY0rOaKQaoNvnhWnNL42Dp/3DmNTE/0YsypXFFr+gKO7ej1OFRwIXle26NsaUwz2ruXLi+jrxRFsywU1IQQo8aaX1zRnVbJHeq4CbnoaNMk87igeGRj0O/cUjbtsvFq0ZA= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WUS_1732782706 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:47 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 2/9] um: Mark parse_cache_line as __init Date: Thu, 28 Nov 2024 16:31:30 +0800 Message-Id: <20241128083137.2219830-3-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_083203_019894_EC111024 X-CRM114-Status: UNSURE ( 6.29 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's only invoked during boot from get_host_cpu_features(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index c5e91d3fb64e..852267542a06 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -272,7 +272,8 @@ static void _ [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.198 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's only invoked during boot from get_host_cpu_features(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index c5e91d3fb64e..852267542a06 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -272,7 +272,8 @@ static void __init parse_host_cpu_flags(char *line) set_cpu_cap(&boot_cpu_data, i); } } -static void parse_cache_line(char *line) + +static void __init parse_cache_line(char *line) { long res; char *to_parse = strstr(line, ":"); From patchwork Thu Nov 28 08:31:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015985 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ZUyu5Lbu; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=K8/mjUJD; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV0V6l0Sz1y01 for ; Thu, 28 Nov 2024 19:31:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TRl3bYa75n9c7n8bleAcp+zOh+k0CHRLO2tyS+NHN7A=; b=ZUyu5LbuAUul9lItXf3DK+BQg5 NjOrVFuDoRXK2FYX4Q0A1QfTQ85zL70i90mtwHPTDGpdnOUYKPevz/h9hRe5pgLVHboWpqat08m/s jPWWGV85nBhFJgIVK53YYnnHtEDFl0S4ORPcjXCBryx/rGxNKe2I5R2RdsClTGKp4t5Dm0/S7770o GogJMb+cm1rQ4vOgpDyhtnTofUWLvTKaEJC8S+4xJx3m0Q+1q0idiyYYzQM5Skh6TpVm74GnZFUT8 ULgrGqMyi1D/ZCzrNeR6OqV13Y9dflDSmKy0Gc7qgsDPOVf4jVfddkQBMFS0cxa2vr7mI1h6tjxqX noIF172A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwH-0000000F0lL-0E51; Thu, 28 Nov 2024 08:31:53 +0000 Received: from out0-196.mail.aliyun.com ([140.205.0.196]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwE-0000000F0jN-07YS for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:31:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782707; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=TRl3bYa75n9c7n8bleAcp+zOh+k0CHRLO2tyS+NHN7A=; b=K8/mjUJD7SkoJ8fryFdF6ECMOe7R8T4AKuNXY8zSF3PNzdK9cqhq1Bq0LFiTbaJ2v5yIoUixVbrCnbT6X66ajkU4Oa+0cvfux2jkrmxC45chFnreAcCDkboIsRXBzbfHUVP8UNcuRKvWVeRhjgH4EW5iUjkr2bGp5s7ZgzRy7tY= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WUh_1732782707 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:47 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 3/9] um: Mark get_top_address as __init Date: Thu, 28 Nov 2024 16:31:31 +0800 Message-Id: <20241128083137.2219830-4-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_003150_243129_B883C674 X-CRM114-Status: UNSURE ( 7.18 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's only invoked during boot from linux_main(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 852267542a06..3e03a716c6ec 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -289,7 +289,7 @@ static void _ [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.196 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.196 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.196 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.196 listed in sa-accredit.habeas.com] X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's only invoked during boot from linux_main(). Signed-off-by: Tiwei Bie --- arch/um/kernel/um_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index 852267542a06..3e03a716c6ec 100644 --- a/arch/um/kernel/um_arch.c +++ b/arch/um/kernel/um_arch.c @@ -289,7 +289,7 @@ static void __init parse_cache_line(char *line) } } -static unsigned long get_top_address(char **envp) +static unsigned long __init get_top_address(char **envp) { unsigned long top_addr = (unsigned long) &top_addr; int i; From patchwork Thu Nov 28 08:31:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015987 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Fzi/7dg8; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=B79KftO6; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1d6XMzz1yQT for ; Thu, 28 Nov 2024 19:32:53 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7E87kUCgCJcEBbvfLey0kVN3O59NNSK0NS+0Z1Nt0xw=; b=Fzi/7dg8TFpUquI+fOWqbxeHVh Nfd557+0hDFibl6uyM/yymHf6X5fnNbyyg6UVN6BMV+LDjDy++wcK5ZjwHKjrdgUyXBDr6UpQc7Yj nYjSmg0Sb3ROWUBZTZHT4mLpyYPd1Ra0+FoNpT1oDIWsnVK6wOf8KNGecVPVFxJmC11eIjixFwwwc CMkIkJka4ilxjl9oF2RvGhashURrYgZRnh+F6Amrzi/9u0f57VyFlg7AELcDXkM4W23lEEdH6ad17 xd1MFCj70+zbqKSrJKFbJ1aCIOLVGpWpx9eBIuB01LZV1PoJ9ogqyPn28u6C9TqGUiM+kMqznPr/M mGnoGCUg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxE-0000000F0tQ-1NlG; Thu, 28 Nov 2024 08:32:52 +0000 Received: from out0-203.mail.aliyun.com ([140.205.0.203]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwE-0000000F0je-3IwH for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:31:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782708; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=7E87kUCgCJcEBbvfLey0kVN3O59NNSK0NS+0Z1Nt0xw=; b=B79KftO6f+S8j5mdxmEiDBX24QI+0n8eopUjsQxRvRn2mS7/HM6qV4xkmcuIzFnFqjGgsKdCPdGP1TKkdDJA17m2wnh+bP60sB41V6Ofg12evCiFpKkmS2NlguhCgtCaIQ557NNdvYQFqR4oA3+BhtmwfHUZDBjmYxbxTbL6UUM= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WV5_1732782707 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:47 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 4/9] um: Mark set_stklim as __init Date: Thu, 28 Nov 2024 16:31:32 +0800 Message-Id: <20241128083137.2219830-5-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_003150_991259_E811A345 X-CRM114-Status: UNSURE ( 6.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's only invoked during boot from main(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 0afcdeb8995b..cf9697aa17f3 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -25,7 +25,7 @@ Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.203 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.203 listed in bl.score.senderscore.com] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.203 listed in sa-trusted.bondedsender.org] 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [140.205.0.203 listed in sa-accredit.habeas.com] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's only invoked during boot from main(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 0afcdeb8995b..cf9697aa17f3 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -25,7 +25,7 @@ long elf_aux_hwcap; -static void set_stklim(void) +static void __init set_stklim(void) { struct rlimit lim; From patchwork Thu Nov 28 08:31:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015992 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=xImRko3/; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=F8/5qQQs; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=mWhjexMq; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1f6VJYz1yQT for ; Thu, 28 Nov 2024 19:32:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Bv8FwBsBESaCcP/PEqFLrYzx577vyZ9w8ROySyPTmvs=; b=xImRko3/xfQz/Sb1gUDzMkGs5v yYPRY+M06etsgY3LF4om4RLu72/rY/35neCowdMHjRVnR2pLtxPmcrs5KS5Es9I76hDtNA2qnahpj TJvG+BTR1TsgBosSmsHSYSTR80LTT5kgR3zirxen1cjYKzmSgXGM/59uHk5CpJcGlZrMrGw5YP8cA o9ud6R/Kmc4V8nBi0/k/tmrqkbuJqrL7dpdaA9pdRwq32dwHIoJnWNR/ogflHPjawSf0cqTyu0RKK whSEAG2e0H0u/LVkGU1YGFkd8nGwo7dnUs0lNig/dD84ILYc3Jh21w++pa6G6IHqC1HsyNxgwskXo YRR8hPFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxF-0000000F0uj-12k6; Thu, 28 Nov 2024 08:32:53 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwW-0000000F0po-2fb0 for linux-um@bombadil.infradead.org; Thu, 28 Nov 2024 08:32:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=Bv8FwBsBESaCcP/PEqFLrYzx577vyZ9w8ROySyPTmvs=; b=F8/5qQQs/NsoZVyTtbw+jM5C0W x9GfzopE1uhFX4vverx4JmJUmDYKzVO0llTMZsPNycF0WujloHO9w36KJXFUeahZ2VhZbjODrTyay hX4GFdoe0+9NHlECYIVYYw+KBGYJ3Or1dzVXmmPZCfiSCRRt1RaJLGTQN3u+dM4XFHWRqFTGyA8fl 95WttHe3MjpirCymGqHNJCK38F/R9MflgoRMlgJHcl+6I6OsWeZAOe9FPdx7OVEw0gEybrcndBgdi aMO7W3x2U8DgI3DAcTEfrHkbQWkSckwgbccnMX5jvNc9hMaAYpkQfr6kViLA4AZAO8zyr3hDEqS7e HsS3p8gg==; Received: from out0-222.mail.aliyun.com ([140.205.0.222]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwQ-00000001Yhm-0Mi6 for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:32:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782708; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=Bv8FwBsBESaCcP/PEqFLrYzx577vyZ9w8ROySyPTmvs=; b=mWhjexMqFjTlJ/AAzOw707hAgvorScimr31FNtMF4fIWaR+ZWbXYmqiZmDm6NBLG4H7YThRMuTtY35gu+XXtwdQmwHzYseul+IW8itf7NJOCu7RZbWGKhYUTrCOqRQNDxJzk4IytnOFp2d4Z9sMXWkre6mHszhorc62etMSCixQ= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WVS_1732782707 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:47 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 5/9] um: Mark install_fatal_handler as __init Date: Thu, 28 Nov 2024 16:31:33 +0800 Message-Id: <20241128083137.2219830-6-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_083202_870829_266E3867 X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's only invoked during boot from main(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index cf9697aa17f3..3f394f25e059 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -48,7 +48,7 @@ static void last_di [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.222 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's only invoked during boot from main(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index cf9697aa17f3..3f394f25e059 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -48,7 +48,7 @@ static void last_ditch_exit(int sig) exit(1); } -static void install_fatal_handler(int sig) +static void __init install_fatal_handler(int sig) { struct sigaction action; From patchwork Thu Nov 28 08:31:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015989 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Au3XCyc2; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=FHLlZgXZ; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=021QHERf; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1f1np4z1yQm for ; Thu, 28 Nov 2024 19:32:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ynwTOlASH6FPENs5xoSdmZ6m8k8ZcE0LflEyQfoYoPw=; b=Au3XCyc2cjNQ1Llphz4kKXvvgw 9rXKXVZ2TvsT/2EheX+MPhayUl9TD+YmTzBOgOF24fJGZbVy6/10kBPYmsMNY9JWuojuEsIwpibES dYZsXX+5P2YuVIwSpjURzrW7X4b5Oszwe1ulFo7/Zj3dO2pO/fsHrVrR/ETOi5UleVK0n4mK6EJrZ UuuL7utgpf2Zuj510m7d/mVlIs7ZX4AuWPF8HlziwWc1/mMB4alW3RMciIJGncO1Y+tBRbw9og/JQ WedPMzBldDsO+tivL4fAkUqvtK1co9il5pwobm7LkwWFPnwRLOxdytPdsRWY0irQydF1ntlC3e1Cg hao6BAZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxE-0000000F0to-2cti; Thu, 28 Nov 2024 08:32:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwU-0000000F0pW-2fG7 for linux-um@bombadil.infradead.org; Thu, 28 Nov 2024 08:32:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=ynwTOlASH6FPENs5xoSdmZ6m8k8ZcE0LflEyQfoYoPw=; b=FHLlZgXZbkKHvTJUQczFFw0G5x amlo/BXWenLFhjUC9jbmMvoiHN9JlWwDDoi7auG8suq/xZLeO58BZEKtL9RAmWVqRGx2Q7OO/VYx+ Wis6xwx/3+j0W7/D+PnhekywJllGoqDdJO/Km1svWRbmYUc4Cix/EZbS+XXNGWTTBIKxQDzMOuFVk 8gC0G9zjy+qKY8spHAIC/npNW6tlIfMu4dtCey8sNEkTY86WsGDYM4ZzqRK3Vlqrg+8nAkyjM8Qek DK2LQ6Y5u2pCI+8HpF8yP4X3p6fm/fVIS0uXiiBTnr+C0lWkPpn2K0h/QOerYib0ubOz9ZFN25lsh D6+AY5OA==; Received: from out0-195.mail.aliyun.com ([140.205.0.195]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwQ-00000001Yhn-0O1C for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:32:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782709; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=ynwTOlASH6FPENs5xoSdmZ6m8k8ZcE0LflEyQfoYoPw=; b=021QHERfOkzxXxMEDjJdBKJX11ZTdHYNB8cmK/OK5DwC63YxZpUlyEVX/PFPG9g0iATrkDXoDnEfXL5o5MhgmEXzRxBH08v2Sd6OStRSnx8OMRNpJfupiV32xfH50Ej1ygn9+vi/BngQ8RpCsqw5lQsG+YKAKqe13DlWF8atCLg= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WW._1732782708 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:48 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 6/9] um: Mark setup_env_path as __init Date: Thu, 28 Nov 2024 16:31:34 +0800 Message-Id: <20241128083137.2219830-7-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_083202_869405_273D70F6 X-CRM114-Status: UNSURE ( 7.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's only invoked during boot from main(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 3f394f25e059..3f0be24b3633 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -73,7 +73,7 @@ static void __init [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's only invoked during boot from main(). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 3f394f25e059..3f0be24b3633 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -73,7 +73,7 @@ static void __init install_fatal_handler(int sig) #define UML_LIB_PATH ":" OS_LIB_PATH "/uml" -static void setup_env_path(void) +static void __init setup_env_path(void) { char *new_path = NULL; char *old_path = NULL; From patchwork Thu Nov 28 08:31:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015991 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=2o6jaTz1; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=Hzc5Os31; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=NkPG46xA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1f6CrQz1y01 for ; Thu, 28 Nov 2024 19:32:54 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gR64ER62sWlRWtO+6RPJvOcU4SuQheV2QuvDXjQ0vTI=; b=2o6jaTz1BfayXRBXya6KAkzqFP WNzeL74bNIBCt7loMKKb7pNFGHoo58+Y+MNlKqR13RsblxQatd9QN/T9iIuhw83dZLO7IDZNqJ8RD zLLz7lr2wxY2gqamcCJQL3Dadz+0IV7vy9rOCa1Ju7KJDYQVTCfX0ten6zzXVK/WrfrdKQ1DXqdBK H04l1XsPfwIEwmqCKB7Wq49PJxUdj00fkp7L+ElfYLCnm0266V9Thfpz81kBVrq1NQuXCDPvDDwy2 x3GEtKjy+/rwbgDZxRQ5w8+fIQqle2Y7vxTz2DwWsY7kpvmqw08AjsVAkli6zA53qEN1QEzF0X/7N AGKvB0mQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxE-0000000F0uN-3zCc; Thu, 28 Nov 2024 08:32:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwU-0000000F0pY-2fFL for linux-um@bombadil.infradead.org; Thu, 28 Nov 2024 08:32:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=gR64ER62sWlRWtO+6RPJvOcU4SuQheV2QuvDXjQ0vTI=; b=Hzc5Os31eSZkVtg9jPaqbXRjIk n7IbLuJPKNdT4EtWDi1I3zT93FdxiYgWzgeNZFuw7oDg16S1tiYU+INKXG/PuUGErI7WxYrpXzldR uQo790riEXI2Egyeapr8Xd8BHfzF4aN1OEcQx+OjeL+81oz7TaImQG1nLp7yAKGMxwkTNUIzlvHkp 2hBFgSKYf5u/e0KkxjhFjabuP+YYb0GXKw/mqqkKK8+/0vA18jrXHhhwExudeAa8tSuj13sQniTZn z6w8DV4J0v0MJUSuaT9d4X3XC9/qEqC0qszzyEggJEbxh6U/XskWMG7U/148O7Xab2bS4Opwt+IIC /dEsWzcg==; Received: from out0-215.mail.aliyun.com ([140.205.0.215]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwQ-00000001Yho-0AZS for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:32:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782709; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=gR64ER62sWlRWtO+6RPJvOcU4SuQheV2QuvDXjQ0vTI=; b=NkPG46xAGfIC4NNTIEpFUh70YvxbFk/OITxlQsZ5VJzMP96oCDW/2wZ+QcDElBsBm3yNTemkKb7ylyLKc4sHy8mqxKD0PIEZXRZDEwItHI2hAWShnoOQQNYaCHJuLYD6WwI2Ao14sZoTP8gCfS4MHN6gpk9hht+ryY9y8viyflM= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WWG_1732782708 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:48 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 7/9] um: Remove unused PGD_BOUND macro Date: Thu, 28 Nov 2024 16:31:35 +0800 Message-Id: <20241128083137.2219830-8-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_083202_869208_75B2C8F5 X-CRM114-Status: UNSURE ( 5.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's no longer used since commit 11100b1dfb6e ("uml: delete unused code"). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 3f0be24b3633..13f3bfeb6378 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -19,7 +19,6 @@ #include List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's no longer used since commit 11100b1dfb6e ("uml: delete unused code"). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 3f0be24b3633..13f3bfeb6378 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -19,7 +19,6 @@ #include #include "internal.h" -#define PGD_BOUND (4 * 1024 * 1024) #define STACKSIZE (8 * 1024 * 1024) #define THREAD_NAME_LEN (256) From patchwork Thu Nov 28 08:31:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015993 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ZNxPsqa5; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=ELuKSqo/; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=FIm8UXgG; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1h1NShz1yQq for ; Thu, 28 Nov 2024 19:32:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=GmM4bKfnOoN6gQRibUUEULkKDIULN2ASmDmrUwawp4w=; b=ZNxPsqa5ovfmNcWXTZsQF96H2V tNljgFw/wyO8bfrSCs7HYIKnmIOdM6VDTHhR7RogZxSiNM3lkUBsl9geuAgXvgm9lLx79OpCo35Ga D0wPjSXTZC405PsVwgcZgneTM4nX/QyVgC0GmEDYDFQ1EyMU6pobCRqVuu1M0K5mJA4mlNNVdgNon qN1mcwM7x8v9EunDPn6hZs+42ieQGDVnLp+ylF0qw1OQoLzaztvj57tP7Am1zzWj6UH4mhKuaIckK wF6r+3BQmabqimIOYWeU7asn3c9R5W1b6pR28gI2bfcRgrDTLDbi06GmEAle5hoDfnMtz8xoGj4fp gdt8LfDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxG-0000000F0wY-1I9o; Thu, 28 Nov 2024 08:32:54 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwW-0000000F0pr-2kfl for linux-um@bombadil.infradead.org; Thu, 28 Nov 2024 08:32:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=GmM4bKfnOoN6gQRibUUEULkKDIULN2ASmDmrUwawp4w=; b=ELuKSqo/MjjseUi2G+OaORkBAP Ek8cNP1Q5MmDl1oLdgGIIPWFokkFo7Hd8U28jHBn9fyjBQZ0rUmZxImrs5nnekj3xp0qNO1nZce+4 R7vzVHeAnvYcbjWX5QMPFO8et/lDUTR9w/vAREfE63Mz8tCLRvRJRAqpZ52aoC0Ov+N36A6zi4RVB lOFIvA2JxF3XUbojpNnyGdBy9kZ6r9nEFWPVXrzL89vzLYVwr5mhnQI7S+aCKTqPh8ell4pFzX6MU nP41AKNqnnN+/ewGXf6zzzFa1+/G49Kpq0aTW/7CmAiXZcmj43twvtu2mqCKRyG7h87NEWCEGNIlN gM6kXLhQ==; Received: from out0-194.mail.aliyun.com ([140.205.0.194]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwQ-00000001Yhp-06xu for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:32:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782709; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=GmM4bKfnOoN6gQRibUUEULkKDIULN2ASmDmrUwawp4w=; b=FIm8UXgGRcC//eloWBUkRthj3YSNRKoSbXOj/THAJ02F5thW2mpksW1meu26/Amxl3cEIe1L5abx3IK1ToQ0cU8udeQ9ORofgyZUWFg/tJLZEQe3YsJT94qfqKHGXC5M1ud8YVdRfDTPC+txg3iTwed/jXr3LdZG40T3g/MVe4A= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WWX_1732782708 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:48 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 8/9] um: Remove unused THREAD_NAME_LEN macro Date: Thu, 28 Nov 2024 16:31:36 +0800 Message-Id: <20241128083137.2219830-9-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_083202_870829_544EDDD4 X-CRM114-Status: UNSURE ( 5.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's no longer used since commit 42fda66387da ("uml: throw out CONFIG_MODE_TT"). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 13f3bfeb6378..3c63ce19e3bf 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -20,7 +20,6 @@ #include "internal. [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.194 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's no longer used since commit 42fda66387da ("uml: throw out CONFIG_MODE_TT"). Signed-off-by: Tiwei Bie --- arch/um/os-Linux/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/os-Linux/main.c b/arch/um/os-Linux/main.c index 13f3bfeb6378..3c63ce19e3bf 100644 --- a/arch/um/os-Linux/main.c +++ b/arch/um/os-Linux/main.c @@ -20,7 +20,6 @@ #include "internal.h" #define STACKSIZE (8 * 1024 * 1024) -#define THREAD_NAME_LEN (256) long elf_aux_hwcap; From patchwork Thu Nov 28 08:31:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiwei Bie X-Patchwork-Id: 2015990 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=OoIUqJDl; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=h1KWL8jE; dkim=pass (1024-bit key; unprotected) header.d=antgroup.com header.i=@antgroup.com header.a=rsa-sha256 header.s=default header.b=01y+cw2Y; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XzV1g0KXqz1yQn for ; Thu, 28 Nov 2024 19:32:55 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hKhVlEWW5yxomHpxWri3aYSjhDtHnogmZ1Sltb2ZRNU=; b=OoIUqJDl9FSNqXFzdLSRa96eqe ydNhO9BGEGaou72TREGRPALAx1uzD845iiN70+Ui5WRC2sIP4iKyi53J4BXMujbjLl6Lurp6ar6CA K17YmNk1ircXTgelV4GPJ2ZNesLik0xagJQOV39NKRQVH3QzAyAakaNy88n5HmzcR/wZTJADzdFX7 PsxUDJItZ6UNQ+BWx1t+KiFtZpBe4K7Ll1lnH642DM6BMx4zqRKe+py1c/S++yf0MMV7eVxpfv3BI dEuLt+9j1tGni4zBJKUHRozCFsXzuj2FcXigtt6sCYRca2Ts6mjEwO+gpdd6msOOxTr6vHpVXbffY WLBp31MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tGZxF-0000000F0v6-2Kbd; Thu, 28 Nov 2024 08:32:53 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwW-0000000F0pn-2fav for linux-um@bombadil.infradead.org; Thu, 28 Nov 2024 08:32:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=hKhVlEWW5yxomHpxWri3aYSjhDtHnogmZ1Sltb2ZRNU=; b=h1KWL8jESMV0wEks2FZc6fajtD XhqW4dmHLZ8+yX3g4kSosUVE4BEfrAfTviuwpXGC5l1LgIZXtQTZWIoS/0V1/owVPUJ95suJgICBL kjlvY/Dpkab3Tflh99GfYG8tu5KBpN2HocqXPsHlPsnBpH7QpxNxLfE9/o0//e5+GcLcDmd/Oqaw+ 6GOXk2BndsFE0Zz8r8hjSKVun3FSHDqxHotVKkuB8lafROvv6JuMV4xPh3DMPBhqNQ4osImndzcHE OTGCnI9Kb+0he2vQ3hmx1LECPWg3HQFrbeP5Ea6AdmvFhOTRw+7Pqm+XoDnBH4b1IHy99DOQGJN0d BBzxU+tw==; Received: from out0-197.mail.aliyun.com ([140.205.0.197]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tGZwQ-00000001Yhq-09jt for linux-um@lists.infradead.org; Thu, 28 Nov 2024 08:32:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antgroup.com; s=default; t=1732782709; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=hKhVlEWW5yxomHpxWri3aYSjhDtHnogmZ1Sltb2ZRNU=; b=01y+cw2Y0umCraZuDJOeQXhEsjuwDUeHNK4UgNX7hnplrrxn1VVdgrRxx4MIf0cWV/A17m6yfDS0uQqqLi0jpVyWNKPa6EjHudB9XM/4Yx3FcXEKt9S2tu8TIoomOr/Uba8LdpIrV4LVYIrrXgiSuU7awgrvyWYE6VW+TYm53GQ= Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.aP07WWu_1732782709 cluster:ay29) by smtp.aliyun-inc.com; Thu, 28 Nov 2024 16:31:49 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , "Tiwei Bie" Subject: [PATCH 9/9] um: Remove unused user_context function Date: Thu, 28 Nov 2024 16:31:37 +0800 Message-Id: <20241128083137.2219830-10-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241128083137.2219830-1-tiwei.btw@antgroup.com> References: <20241128083137.2219830-1-tiwei.btw@antgroup.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241128_083202_872837_3472A018 X-CRM114-Status: UNSURE ( 5.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: It's no longer used since commit 6aa802ce6acc ("uml: throw out CHOOSE_MODE"). Signed-off-by: Tiwei Bie --- arch/um/kernel/process.c | 8 -------- arch/x86/um/shared/sysdep/ptrace.h | 2 -- 2 files changed, 10 deletions(-) Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [140.205.0.197 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org It's no longer used since commit 6aa802ce6acc ("uml: throw out CHOOSE_MODE"). Signed-off-by: Tiwei Bie --- arch/um/kernel/process.c | 8 -------- arch/x86/um/shared/sysdep/ptrace.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c index 30bdc0a87dc8..e5a2d4d897e0 100644 --- a/arch/um/kernel/process.c +++ b/arch/um/kernel/process.c @@ -213,14 +213,6 @@ int __uml_cant_sleep(void) { /* Is in_interrupt() really needed? */ } -int user_context(unsigned long sp) -{ - unsigned long stack; - - stack = sp & (PAGE_MASK << CONFIG_KERNEL_STACK_ORDER); - return stack != (unsigned long) current_thread_info(); -} - extern exitcall_t __uml_exitcall_begin, __uml_exitcall_end; void do_uml_exitcalls(void) diff --git a/arch/x86/um/shared/sysdep/ptrace.h b/arch/x86/um/shared/sysdep/ptrace.h index 2dd4ca6713f8..8f7476ff6e95 100644 --- a/arch/x86/um/shared/sysdep/ptrace.h +++ b/arch/x86/um/shared/sysdep/ptrace.h @@ -74,8 +74,6 @@ struct uml_pt_regs { #define UPT_FAULTINFO(r) (&(r)->faultinfo) #define UPT_IS_USER(r) ((r)->is_user) -extern int user_context(unsigned long sp); - extern int arch_init_registers(int pid); #endif /* __SYSDEP_X86_PTRACE_H */