From patchwork Wed Nov 22 18:23:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 13465350 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA95BC61D9D for ; Wed, 22 Nov 2023 18:24:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0E89C6B062B; Wed, 22 Nov 2023 13:24:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id F3F316B062C; Wed, 22 Nov 2023 13:24:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DB81F6B062E; Wed, 22 Nov 2023 13:24:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id C8A2C6B062B for ; Wed, 22 Nov 2023 13:24:28 -0500 (EST) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 8FFB4A1376 for ; Wed, 22 Nov 2023 18:24:28 +0000 (UTC) X-FDA: 81486415416.12.D9EFAF2 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by imf24.hostedemail.com (Postfix) with ESMTP id 8C391180005 for ; Wed, 22 Nov 2023 18:24:26 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=L93Zg5nD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf24.hostedemail.com: domain of fancer.lancer@gmail.com designates 209.85.208.169 as permitted sender) smtp.mailfrom=fancer.lancer@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1700677466; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=yjHlY+dwgtlGLlPuvunFHNqCcfV7AAmhZsbau9o57nI=; b=YBort49TpVAMI+3U7RKNjxaQxLiUEHYyusIxI7uvs0XgmVkwPzSvAiRywfs3eIblwIf4S4 iFd6FV8MbPxA0TgBi67S7v5nUrdu9O+cpLm9oFGALCCjfFJGcShqcsA34AyEyLEdsa6XCT DiKRkM01VBNsxpZ3Syknvqql6n7m50A= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=L93Zg5nD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf24.hostedemail.com: domain of fancer.lancer@gmail.com designates 209.85.208.169 as permitted sender) smtp.mailfrom=fancer.lancer@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1700677466; a=rsa-sha256; cv=none; b=kcJmQNsl7etU3jkNXxjupqRLbyU0UYaUbbDhmDAgKAKLc6vETaCNnTutGdf030vu2n9GcW klov4vGOycyE4fN70Bfnz08z6Z/pAU2OeqJ/cmdhABP9UPCn22GAh6uLd9o0MkCZ3T/xfP DN9F2LLs35uBIrk/Q/AjFmcrOGi48bg= Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2c897ba4057so816621fa.2 for ; Wed, 22 Nov 2023 10:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700677465; x=1701282265; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yjHlY+dwgtlGLlPuvunFHNqCcfV7AAmhZsbau9o57nI=; b=L93Zg5nDP3+z6YpmdKnZb22vYMICab1eZXwEepgF6GH4LprnsdUBaNLInft5hYzplt 60ehkA6prCtilzt2kDXHd4B8+VtNgSEx27Nm5Vt4tvFE7Cwv8qwJGGXh2hFCcwFBL7CO YnS09ebeU7Apdyi0tRAhPY/GSdJnpCwA/ZJQ27jQiv2yXMs98A8gmg/eZTqyuHg3OcjY yCYM6bGYyW8pByuIhAwdR90u2wzJGLancSYpt9Bi3rd+/5rsLyXeRV2qnMKAyQw5siyT r1/zMOIZDlOJZVzKWDyxTcFOvYaqs0aPO7jYjDxj6Q+LmhQG+W7hHBspziDbIsUtUUUl +wCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700677465; x=1701282265; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yjHlY+dwgtlGLlPuvunFHNqCcfV7AAmhZsbau9o57nI=; b=GGE2UKFmikEKkBY91TVI1AT5zRy4Dwp+mwq+a3cK32FQ7lVMWOaP5Mxr6sRKRr/3yB 5crYKbZ77PEbmP0SI5yktXKtj2vra1hKM6qv6sXWrufCvu/f6nXZNkHpjI9LfHkteXa5 EnoaM+RAgu07De0rHIJALxLtl6r3ZH2/CJ4yqp7iFmIwCD9YlA38CDVrvrpDn1CEKEui aN68aTdGeb0sM7Fx8q4TryZgaDS8KCiahjDjLYNnAtKawzXYDjnXhNf2FEbxkJjRBxJP +tDa6q9E4IfQOUAmCsJBOr1DLisg/KgswEOUtCZoDlutWE5DD6cprEnigApAoHu77cnD ZZLA== X-Gm-Message-State: AOJu0YxHnTxN5VF9Y0AOs69XesLeDiWRO6LVXFjnpBDdLQClD/YV9+0p 2jy5NmJVzqNtnSQHLxbPePk= X-Google-Smtp-Source: AGHT+IFXwabmg+qbE103kF3TmOv1sYfzVGr6ur/Y2zlrmwFdEQbij6rj3CZvgc4sXeVNfM5Rzy7XRQ== X-Received: by 2002:a2e:91c7:0:b0:2c5:24a8:c22d with SMTP id u7-20020a2e91c7000000b002c524a8c22dmr2198720ljg.3.1700677464782; Wed, 22 Nov 2023 10:24:24 -0800 (PST) Received: from localhost ([178.176.56.174]) by smtp.gmail.com with ESMTPSA id f6-20020a2eb5a6000000b002bcbb464a28sm12020ljn.59.2023.11.22.10.24.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:24:23 -0800 (PST) From: Serge Semin To: Thomas Bogendoerfer , Andrew Morton , Mike Rapoport , Matthew Wilcox , Tiezhu Yang , Huacai Chen , Yinglu Yang , Jiaxun Yang Cc: Serge Semin , Alexey Malahov , Arnd Bergmann , Aleksandar Rikalo , Aleksandar Rikalo , Dragan Mladjenovic , Chao-ying Fu , Marc Zyngier , linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] mips: dmi: Fix early remap on MIPS32 Date: Wed, 22 Nov 2023 21:23:59 +0300 Message-ID: <20231122182419.30633-2-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122182419.30633-1-fancer.lancer@gmail.com> References: <20231122182419.30633-1-fancer.lancer@gmail.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 8C391180005 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: jeh1mm4pqtty9nface3psxn1ecfskexe X-HE-Tag: 1700677466-840516 X-HE-Meta: U2FsdGVkX1+/64x/IqedYrTEvTuv6Ku4fX7Xq9PbKx2dN0KUD2iR927+sGnpnRWfhmFK4rcw1IaRm9PgfOFaHbJRemrwi10ayv/0w+mCBT4WqNCyzMlGwlsWT2JLjA1BpWOJsTpQRYHkER+NswMMjOuWgL5wE4gOg1fV4tRwuukifvid6vB1XmZ2HFyzP7YQHrkX0Y6KTEsdGpGWC9tanhc7epvyPNOG+7A2T3plR4Ay/l9Qls3CAW1UdpZLDLdkKEiIT/sbQGuMHH8BUfKcDhmeTPhlmDMzRY7WcA/TuPWHvXC7lUE/vMx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W37Jgan/NcIK8FZ3Ie9fX1a3s+dKCJPqSJ/eHhsdY66RIgSA6oU5CrlRahSQfE5sSaUGqopxDncqt0zvDmc7XDlPZ29k884KvuJrfzMduu3ybsukI5cTpaJefegwKfO+Ttkt6vjMPpCOHcRzyq6AY4Oe4Ozf7c6uLFV+upEXjLXJtr+xKPtg3II8Ro6dMMHC4s6xNAjAw9mqN2Hq1TR9/h5Q X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: dmi_early_remap() has been defined as ioremap_cache() which on MIPS32 gets to be converted to the VM-based mapping. DMI early remapping is performed at the setup_arch() stage with no VM available. So calling the dmi_early_remap() for MIPS32 causes the system to crash at the early boot time. Fix that by converting dmi_early_remap() to the uncached remapping which is always available on both 32 and 64-bits MIPS systems. Fixes: be8fa1cb444c ("MIPS: Add support for Desktop Management Interface (DMI)") Signed-off-by: Serge Semin --- arch/mips/include/asm/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/include/asm/dmi.h b/arch/mips/include/asm/dmi.h index 27415a288adf..525aad1572d1 100644 --- a/arch/mips/include/asm/dmi.h +++ b/arch/mips/include/asm/dmi.h @@ -5,7 +5,7 @@ #include #include -#define dmi_early_remap(x, l) ioremap_cache(x, l) +#define dmi_early_remap(x, l) ioremap_uc(x, l) #define dmi_early_unmap(x, l) iounmap(x) #define dmi_remap(x, l) ioremap_cache(x, l) #define dmi_unmap(x) iounmap(x) From patchwork Wed Nov 22 18:24:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Serge Semin X-Patchwork-Id: 13465351 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B68B8C61D9B for ; Wed, 22 Nov 2023 18:24:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 491E16B062F; Wed, 22 Nov 2023 13:24:41 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 442126B0630; Wed, 22 Nov 2023 13:24:41 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2E3006B0631; Wed, 22 Nov 2023 13:24:41 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 199DA6B062F for ; Wed, 22 Nov 2023 13:24:41 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id CEB83C135A for ; Wed, 22 Nov 2023 18:24:40 +0000 (UTC) X-FDA: 81486415920.15.C21DA82 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by imf29.hostedemail.com (Postfix) with ESMTP id DC5D812000C for ; Wed, 22 Nov 2023 18:24:38 +0000 (UTC) Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=W7pp+KmD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf29.hostedemail.com: domain of fancer.lancer@gmail.com designates 209.85.208.173 as permitted sender) smtp.mailfrom=fancer.lancer@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1700677479; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ygdtXD6vQmhTkyIIFbEZLW4cEgmK3nTQybwd/aOy/dw=; b=LdqptRNkCSiupHnjaKGnjLH8IxIwRa600/qL1aC524tALLC87SS6HJqjNjW8j6B5kVxKt4 x+ymUTOwk9Vyz1xMBsGlOX3oKMX0aJG+QtimXlU44NeD882Ab8COL4aElIYlYGkLeKACu/ FgduPejF8fyvf5YVCXFLA+vUvKYCHtg= ARC-Authentication-Results: i=1; imf29.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=W7pp+KmD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf29.hostedemail.com: domain of fancer.lancer@gmail.com designates 209.85.208.173 as permitted sender) smtp.mailfrom=fancer.lancer@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1700677479; a=rsa-sha256; cv=none; b=sVnLVCuXTOdxbXi57FWrjJYvDKULmSXRWOE6Ui2X/BNY5Vwh3zxO57+JkmFqPP2N+nDA+g gYeI4IMRosfrorM/HmCiO7d25IuUvrQgLLj2JqgOgpiwjo01aoyHMqZUmm9avGGZEtwtB+ 66OHZvwBtGT2aQS/eRnUGXDkoAXQl3g= Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2c5056059e0so893181fa.3 for ; Wed, 22 Nov 2023 10:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700677477; x=1701282277; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ygdtXD6vQmhTkyIIFbEZLW4cEgmK3nTQybwd/aOy/dw=; b=W7pp+KmDIwoEqKEGa/Gdn7drKnjUu5458Cw9eSUIOSyaDM5geo+fajZW1mb72+zObd QHmgBkyrnMocIa9pGHdWAOsRKYS3Hq4e1d13dkRqTTgOa1oLQ0qt2hNyq3wfkUrxEPKA nS736UStVmolPJ6UbDIN6UizKu0yR5hwsi5KxjJyLcYjT+SnexC3CGHl2bGn9qS7AScY HqLfpIHRf/dxySHs2G51ICw1fDwT/Mg2PcP+9mNHO9duPC8KP70hY78sZpmx2IReEixd Ousp7K7QaR2LbfJs65cwNGg5/+NKh35g2B+Xf7Gql8ncemh3gEOlhppoWPeVq9y+e9qw rF4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700677477; x=1701282277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ygdtXD6vQmhTkyIIFbEZLW4cEgmK3nTQybwd/aOy/dw=; b=Evxw3gUjOlDeUGt5AipOvb6V6/FzhkB1IC3pmgunRIvheHMpac7+3+SUBis98jztP3 IGmFUX6T2NTAWTpD4S+DOYCiK46haZ9pwlcA9JtdJl1AD4VnUZHafPsgI+0MQuPjySIk StPSy8eF0fxNHencjbIoSs2bqcb7TvZzBow4CJVrWbZjDCIUy8FwVJRNlA5Vjbv2AvjH 7pW2fneGx7nB29+QfT0Bp0BFSr35RnBXrAxv/7/HKgW/axwfFWFW/xS8l5Svc51ldrtY iB4Y5uUfH2N34FHljyaZ0nfZtz6PTrFjNqD8uVJOKgCs1EHzXWnO4XRgQm/kDKch8V2y wjaQ== X-Gm-Message-State: AOJu0YxyRZO7xc3Vke/PJzrJvs3H2ZTOfclcZwFWyM5zdLnR+GCE7ojJ iZVFoGP7813fwIjV58qT/No= X-Google-Smtp-Source: AGHT+IGOQXheOS+Gt4rJnqKjpbv7GijHFeJguvjzbMNW2BiOOY31AXGILBqTgE/H996cdvS6H0FlrA== X-Received: by 2002:a2e:9d54:0:b0:2c5:15dc:ba99 with SMTP id y20-20020a2e9d54000000b002c515dcba99mr2236124ljj.51.1700677477316; Wed, 22 Nov 2023 10:24:37 -0800 (PST) Received: from localhost ([178.176.56.174]) by smtp.gmail.com with ESMTPSA id w5-20020a2ea3c5000000b002b9e5fe86dasm11422lje.81.2023.11.22.10.24.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:24:36 -0800 (PST) From: Serge Semin To: Thomas Bogendoerfer , Andrew Morton , Mike Rapoport , Matthew Wilcox Cc: Serge Semin , Alexey Malahov , Arnd Bergmann , Aleksandar Rikalo , Aleksandar Rikalo , Dragan Mladjenovic , Chao-ying Fu , Jiaxun Yang , Yinglu Yang , Tiezhu Yang , Marc Zyngier , linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] mips: Set dump-stack arch description Date: Wed, 22 Nov 2023 21:24:05 +0300 Message-ID: <20231122182419.30633-8-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231122182419.30633-1-fancer.lancer@gmail.com> References: <20231122182419.30633-1-fancer.lancer@gmail.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: DC5D812000C X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: jgzz7uz5racf4ssct5zj546uxhswzuhg X-HE-Tag: 1700677478-277459 X-HE-Meta: U2FsdGVkX18Qu/cd87CvYtrDg0wIuOjC7/f+WQBinbJE2WH1faUhLqpQnVxJPq4dk1+5hpt9pEMrGu53mBpGPAEDOtWNL3Yp0eXDhB4NdUSwKQgasBD8FHlYtEVdAt4pVikw9BpY7//ZfKWAD2WXv5OeXOjt8Lh1+/cVJIH2R+ZuW8hCMVm5WfcPMowBd9LIfS1yp/CpbhBVJMR3aH1XHRAyqomSpIRhMefcveS7FVn4+3DlvQ9O9WiwePX7YtmtFV3kvc82CBvdlxaEO7rLKmWvSop81U1ikvG+sff7CQes7YoEgJsrylSfiLkb286COQNQ4Ue6cJL2MGSjlXNG+V1iQZMMGKKuNP6XWLQDmDQyIk2dEItxBp8UcT3eihXCN2PqwGryA9v4nY/FrhmvGrEOetS/7B0ibqQEQrkBSltImxtI8KJbNSTp79af+IO6d/sccA5POqGDCUyyFSSFmJH3hKrtvF62ei++p7OUxPx+q0MOpVSFTH+PbaT+9AC4hhYKuoF7HFFTuMqQGMP4vQOxbQzMqQEWv3rMWoihiCfU9KeR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linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: In the framework of the MIPS architecture the mips_set_machine_name() method is defined to set the machine name. The name currently is only used in the /proc/cpuinfo file content generation. Let's have it utilized to mach-personalize the dump-stack data too in a way it's done on ARM, ARM64, RISC-V, etc. Signed-off-by: Serge Semin --- arch/mips/kernel/prom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index f88ce78e13e3..6062e6fa589a 100644 --- a/arch/mips/kernel/prom.c +++ b/arch/mips/kernel/prom.c @@ -28,6 +28,8 @@ __init void mips_set_machine_name(const char *name) strscpy(mips_machine_name, name, sizeof(mips_machine_name)); pr_info("MIPS: machine is %s\n", mips_get_machine_name()); + + dump_stack_set_arch_desc(name); } char *mips_get_machine_name(void)