From patchwork Sat Jan 11 05:48:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akihiko Odaki X-Patchwork-Id: 13935793 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 5C5E3E7719A for ; Sat, 11 Jan 2025 05:49:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ED0696B00A3; Sat, 11 Jan 2025 00:49:39 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E80BD6B00A6; Sat, 11 Jan 2025 00:49:39 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D6F796B00A9; Sat, 11 Jan 2025 00:49:39 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id B688F6B00A3 for ; Sat, 11 Jan 2025 00:49:39 -0500 (EST) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 733CA1A10B3 for ; Sat, 11 Jan 2025 05:49:39 +0000 (UTC) X-FDA: 82994094078.22.D978B14 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by imf28.hostedemail.com (Postfix) with ESMTP id 9004BC0007 for ; Sat, 11 Jan 2025 05:49:37 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=daynix-com.20230601.gappssmtp.com header.s=20230601 header.b=oGzLrfhW; spf=pass (imf28.hostedemail.com: domain of akihiko.odaki@daynix.com designates 209.85.214.173 as permitted sender) smtp.mailfrom=akihiko.odaki@daynix.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736574577; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hJIM5PjsK5XkECqCUUoGiieCybrsun7CzYeIZbw5syM=; b=2BcyfwvvaJ/oZYWCDbDIhdD371OiEq1BRuaB2JxcUkcFYsEZZJNtZq6injo/2Fszql+FWJ /s0XNLXPbm43J2g9CTaXlDKXKI0yTFjJyXf/ltJuDd1pCWJHMGLrluKhILsVh1L+MAyQPc DKGgyTjanUVUVJyvkX19zzN5U81hjAA= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=daynix-com.20230601.gappssmtp.com header.s=20230601 header.b=oGzLrfhW; spf=pass (imf28.hostedemail.com: domain of akihiko.odaki@daynix.com designates 209.85.214.173 as permitted sender) smtp.mailfrom=akihiko.odaki@daynix.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736574577; a=rsa-sha256; cv=none; b=j+uKgoXMJtYIVyz944kFgH/mJ9IY2vvH770DdsEQCYsXPGsA/wNB4w7xRYldr1XZoB3l3w 2+vuyG/23aBSwxEXspeTBW9ysbtSfJ5uGijxPEfB0mbbFhZ9CcqQuPM4NK+UIZWaekSwfM 7DRlFuw1MtYd/eHMSof68WBzkq4E/RU= Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-216401de828so45215575ad.3 for ; Fri, 10 Jan 2025 21:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1736574576; x=1737179376; darn=kvack.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=hJIM5PjsK5XkECqCUUoGiieCybrsun7CzYeIZbw5syM=; b=oGzLrfhWc2PNNxkibrZV0UOoS2NNbx3Upjy9+URmUIe6lmOTm6VAnO9wKTxd4t5adS W/8IhnVZdXmmN9dvAQFR2uJnMmIQfjopcFnYWIlji3HVfaFqoiViCRaNb8MoJVZ6dTNz iC0pkZMY7mZ9MPcA9RBKqmKs3Vjk1cpetLJXRBp/nkysqBMPrSytSR9NwEHyYJcRXQgR ML6kRRGhoMvKf0I0Sn/3RfWzmtF3SW4zPGqMJW5K3Lmio8oZ1osUL6DbGKzqy7KeDQ5Y OCozSUbJeEFW3qcPmgsRZsCKS7ughPkxPzzPPDmFnrXBNSAlAr5GXAha2IWmFKAPRe3K nvZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736574576; x=1737179376; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hJIM5PjsK5XkECqCUUoGiieCybrsun7CzYeIZbw5syM=; b=Ii/kl+nPTxIJQ39rYDEH+zo5r/7iyUM4HUKNi+POEPMc84JkPPv7IC/aNSdqmLF6e+ 89wLPN3PZgGb7ffhwsllaV8J/0DQpWqjCMs9vJmXaUMLtoworJbt+WKNvQN9tekXKOh1 fx0axymUDJJXTQE8YmgGr6Pyqf/dHoUEmi/eILyFUYcphNCSgp5HRqC5GmnedhxnJNX2 vB3gK/bCtUODo0FVjm2f90NZAa+/dLppNW2EsRwt3yndAaadNr1XWg64aiC+LcnCdQbg jN45ijjIjorCSY00i0VkpM16/rkjIgMbyxSYgCFWJz2PtCfEX6s2E/hqucVVpXt5SYvs +i2A== X-Gm-Message-State: AOJu0Yw0cdbtVfArNUeC0ALdsj7DOU10pOwA0IVv2I1GD+GYyp+KpBm6 81Q8XcKdud/AsAo64En09aJYE+kNc79nhPZmWIpzG/36zjhziB0B/+AXCX+a03M= X-Gm-Gg: ASbGncvg7ts7eqe8AS+6uhloq3RRcCL3RZDjtBfRBkzksI0lTeGpwyv/RYyoSh6QoYi 8K59uIa49Sx+pOGWBbmeBRH4a80rfoRhVaKJz8+VVm8l8oKkx1kA1rDKSivETn4Km0BkFxdST17 VXVoKG6O5TlafZIJHB5QucvGY0fWB5sUHotpCABQV2QesUQTrt7TVK5k9K3FcLtFhwuDK312o7G bphrPfxJzXiCYjQB209xoiu8PNTQwx4NlHafWuHh+duSO/YkidVtBqFkx4= X-Google-Smtp-Source: AGHT+IGdQ/W+GdFqyOEQRaBJtYEIC3d/2Cs4dWBSsnFKDdtRyf3/E/GqQ6RNXv61x1Bb9PKDJOpeZw== X-Received: by 2002:a17:902:e552:b0:216:2426:7666 with SMTP id d9443c01a7336-21a83f36f14mr210827905ad.12.1736574576473; Fri, 10 Jan 2025 21:49:36 -0800 (PST) Received: from localhost ([157.82.203.37]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-21a9f10ddbesm21468195ad.2.2025.01.10.21.49.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jan 2025 21:49:36 -0800 (PST) From: Akihiko Odaki Date: Sat, 11 Jan 2025 14:48:49 +0900 Subject: [PATCH v4 6/6] crash: Remove KEXEC_CORE_NOTE_NAME MIME-Version: 1.0 Message-Id: <20250111-elf-v4-6-b3841fa0dcd9@daynix.com> References: <20250111-elf-v4-0-b3841fa0dcd9@daynix.com> In-Reply-To: <20250111-elf-v4-0-b3841fa0dcd9@daynix.com> To: Eric Biederman , Kees Cook , Catalin Marinas , Mark Brown , Dave Martin , Baoquan He , Vivek Goyal , Dave Young , LEROY Christophe Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, kexec@lists.infradead.org, binutils@sourceware.org, devel@daynix.com, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 9004BC0007 X-Rspam-User: X-Stat-Signature: w6xs4o4gd5q1ipbirakp5eadqy9s5z58 X-HE-Tag: 1736574577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YK8c0U8QtKf7d2nB4Ocm7be0+GKWD6wAY0mmknhUdapqq+/GtJQSh/oW4snLRBWJw6DRshnfXbtStxnW2oPMQs/pxWAfa6yu+XOZZDGEZYQ3T1IT8WrrOPalRtPwh6nBXXHxH+ljsfDNYjTHrR3LHtj8+JsHuPx2fddQzMbZPrQvz7NLtF/A1qRt9ptKP38Jtpog5h92Rx90KPG7j4MX3mz86SvGQPqKX3/6LgzFvw/L/ndRi6qlEVNEtD/Ln2xKIGgTjNN1xGoEcucnODqWfunj5H6RsJGY0RqMATwzKJtg6M8Nwq1TEKew+4VNwDSjxKkZWWzKW9aT2DUZcK 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: KEXEC_CORE_NOTE_NAME is no longer used. Signed-off-by: Akihiko Odaki Acked-by: Baoquan He --- include/linux/kexec.h | 2 -- include/linux/vmcore_info.h | 1 - 2 files changed, 3 deletions(-) diff --git a/include/linux/kexec.h b/include/linux/kexec.h index f0e9f8eda7a3..c840431eadda 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h @@ -68,8 +68,6 @@ extern note_buf_t __percpu *crash_notes; #define KEXEC_CRASH_MEM_ALIGN PAGE_SIZE #endif -#define KEXEC_CORE_NOTE_NAME CRASH_CORE_NOTE_NAME - /* * This structure is used to hold the arguments that are used when loading * kernel binaries. diff --git a/include/linux/vmcore_info.h b/include/linux/vmcore_info.h index 1672801fd98c..37e003ae5262 100644 --- a/include/linux/vmcore_info.h +++ b/include/linux/vmcore_info.h @@ -6,7 +6,6 @@ #include #include -#define CRASH_CORE_NOTE_NAME "CORE" #define CRASH_CORE_NOTE_HEAD_BYTES ALIGN(sizeof(struct elf_note), 4) #define CRASH_CORE_NOTE_NAME_BYTES ALIGN(sizeof(NN_PRSTATUS), 4) #define CRASH_CORE_NOTE_DESC_BYTES ALIGN(sizeof(struct elf_prstatus), 4)