Message ID | 20231202111430.18059-7-fancer.lancer@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 036B9C4167B for <linux-mm@archiver.kernel.org>; Sat, 2 Dec 2023 11:14:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8B5956B04CE; Sat, 2 Dec 2023 06:14:56 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 864FD6B04CF; Sat, 2 Dec 2023 06:14:56 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 706336B04D0; Sat, 2 Dec 2023 06:14:56 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 58EE96B04CE for <linux-mm@kvack.org>; Sat, 2 Dec 2023 06:14:56 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 2C8DE160153 for <linux-mm@kvack.org>; Sat, 2 Dec 2023 11:14:56 +0000 (UTC) X-FDA: 81521620992.18.C278258 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by imf07.hostedemail.com (Postfix) with ESMTP id 5835240003 for <linux-mm@kvack.org>; Sat, 2 Dec 2023 11:14:54 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WN3Fxzw6; spf=pass (imf07.hostedemail.com: domain of fancer.lancer@gmail.com designates 209.85.167.47 as permitted sender) smtp.mailfrom=fancer.lancer@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701515694; 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=WkEB7BlGkkEJvh8gd02aPRoNU8lPsJHd/7dQUzph9g4b2lexA+yTIj+VQzx4uIP+RGYsZC pSWo/kd0bikQv6Vi0IpEWOkOQptlJWd75zQ0STPf908u5O99gynblf/29cF88ZB2rppIMX tbMYpuSlU9UD70G9b9Tf1wNJKN3/8V8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701515694; a=rsa-sha256; cv=none; b=1dMxyF0Ewqaq6/HSFdbeL05bRmNuJeLAXekfaq40Dk8bdbk3Uqlmgioomnst4zsGHr8tA6 zlbKRN85RUX9EHyCdEOjBmtd2eKTAGgLD2ppskkpz9yxheOTg7S8o1bfUfBHzhvbaz25v+ J2ZEs3vadGson1WAVNEP1BOlMCQzOjA= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=WN3Fxzw6; spf=pass (imf07.hostedemail.com: domain of fancer.lancer@gmail.com designates 209.85.167.47 as permitted sender) smtp.mailfrom=fancer.lancer@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-50be9e6427dso262006e87.1 for <linux-mm@kvack.org>; Sat, 02 Dec 2023 03:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701515693; x=1702120493; 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=WN3Fxzw6M2iMZXDWqviBYy3/vj5jMaEsATddKtyU0rEIu+r7kSHPck2ssq6AXXSH0m ni95ZM0C48k2dV+v09Ez4d87m6wUnodEqfYpZWmXLlpsMY54wHEIvtje0C+h/ScqnLmF f6E6DTlr2zzQlLnSLJeqPs2R06gQ6COpEAjL+K7wWrgp9MJO9G/wfbDobMytfqRrl7Mk HIxNnA/eAzNEBIZIL4pcSVgwvsG9LaIB6Si6Sr6Bg9LamXbbvRk8jNkuhzgrEoGMOZwX XS/04gKsToieBaLwIc4IsSsn4l/SIbW7/keq0oP0MxsVuvv2xMitFijeaTUQD9xG0S+C BliA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701515693; x=1702120493; 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=taVx0u2su3QUrP4NWAKSS97sYDc50rMOGy442TBlyYl4Ii9u6tj174QJVBM4YQryXR 1fRw+3lfaBndLkVSLQj05YLsGouKyjQYpw+Zt3tPx1q1edZciudXJ0TbrsJ56IovA3Wn IE3cw2/hYY2wDb5ZREInafVnCbjT2wHS/R/Aqt6tqvj2rx7bGAMF3avL4eLYZaUXUZ7O 1aCewf4QOGwkOAh2qk74lOh6m3tINQiAcP7hXR/GJknw+POMyhDm72kSC4OIqwg/ZvGT daEK6FmKb20lMhLb8zrO0u3MyLayNqDnJfAwe0c1wDi2hwNQJtVz1ebh0Bbkex3TGn+A FNAQ== X-Gm-Message-State: AOJu0YxOqKfVsjHiAxOlse3Kl1EGoY+254T1JojzLUvhyeM1Shvj5jzO uRuG7mHqRj2eS0kT7ZSE13M= X-Google-Smtp-Source: AGHT+IFScOFSCgDmnBrEbGs2UJA5K5JEy5fdtO2oKyTDCGHtKc+hpIQHzB67DbaHrlLa/RzVHh6mJA== X-Received: by 2002:ac2:44cf:0:b0:50b:df82:3137 with SMTP id d15-20020ac244cf000000b0050bdf823137mr805626lfm.43.1701515692770; Sat, 02 Dec 2023 03:14:52 -0800 (PST) Received: from localhost ([95.79.203.166]) by smtp.gmail.com with ESMTPSA id o8-20020ac24bc8000000b0050bde3d7ed4sm309731lfq.147.2023.12.02.03.14.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 03:14:52 -0800 (PST) From: Serge Semin <fancer.lancer@gmail.com> To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Andrew Morton <akpm@linux-foundation.org> Cc: Serge Semin <fancer.lancer@gmail.com>, Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>, Arnd Bergmann <arnd@arndb.de>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Aleksandar Rikalo <arikalo@gmail.com>, Dragan Mladjenovic <dragan.mladjenovic@syrmia.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Baoquan He <bhe@redhat.com>, Chao-ying Fu <cfu@wavecomp.com>, Yinglu Yang <yangyinglu@loongson.cn>, Tiezhu Yang <yangtiezhu@loongson.cn>, Mike Rapoport <rppt@kernel.org>, Matthew Wilcox <willy@infradead.org>, Marc Zyngier <maz@kernel.org>, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] mips: Set dump-stack arch description Date: Sat, 2 Dec 2023 14:14:23 +0300 Message-ID: <20231202111430.18059-7-fancer.lancer@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231202111430.18059-1-fancer.lancer@gmail.com> References: <20231202111430.18059-1-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5835240003 X-Rspam-User: X-Stat-Signature: 56dxjnimfwdusxff3g9q6689yxgej7dg X-Rspamd-Server: rspam03 X-HE-Tag: 1701515694-339637 X-HE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9ibeSw92lEON7KTHmrqKRPRcaBFq5nsBJwk88NrAQV+b1Xii/4W0jNmrrsrA0zAzXHvp8VlOljqioZXD/xWewHwVdUjLVbGTuhW4qPPN7h1QbAPr1wvc0urz95RY7qZ3gYcZ8RNff6+5MpQ1yMkhEAg6DyOEINlo2SVUy6m5NK0HKm4dSaQBiap5e5+faraUX0CwlvYeggn8wBb6PU32A4gFr6IAyJFmjb8HSJSinpBzue/rY/EuzqhhsQjVK36S7PgG1/u2ybLwOVvobhwi7Xxoge2w76OcAhHkiqfGMIPPAetlotepeN9XYm+BqfEIRaPKyhwB1s6gnTDnHgOpOrMQGHb16C/6dFWq/oZvhyTQmyVSk6kl4T8BJuWSC6cfxrJ0UZgQJgfqqe9uM7rlqGf7dOkCZUPIA1mGsB7oFa+CV7rQPqmXAGpLw0fN31Dhb9d4J4+ZtW1AqSm+MDPEiu5LyQhZnZN9asnuCzeGye9t7Pna93l4ZBSgS4l7n4IZdY 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
MIPS: mm: Fix some memory-related issues
|
expand
|
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)
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 <fancer.lancer@gmail.com> --- arch/mips/kernel/prom.c | 2 ++ 1 file changed, 2 insertions(+)