Message ID | 20250107-elf-v3-6-99cb505b1ab2@daynix.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 4364FE77197 for <linux-mm@archiver.kernel.org>; Tue, 7 Jan 2025 12:48:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C75516B00C7; Tue, 7 Jan 2025 07:48:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BFD576B00C8; Tue, 7 Jan 2025 07:48:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A77396B00C9; Tue, 7 Jan 2025 07:48:35 -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 86F636B00C7 for <linux-mm@kvack.org>; Tue, 7 Jan 2025 07:48:35 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 48750A08C9 for <linux-mm@kvack.org>; Tue, 7 Jan 2025 12:48:35 +0000 (UTC) X-FDA: 82980634590.16.4E5794A Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by imf05.hostedemail.com (Postfix) with ESMTP id 5B0D1100010 for <linux-mm@kvack.org>; Tue, 7 Jan 2025 12:48:33 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=daynix-com.20230601.gappssmtp.com header.s=20230601 header.b=r7r16peS; spf=pass (imf05.hostedemail.com: domain of akihiko.odaki@daynix.com designates 209.85.214.177 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=1736254113; 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=CAsjdRnGgr0WfIytCOqDfkFT/HuA75GvQIDHiDgfssrjb373+HkfdSscgZbQ8KFaWyBZDj uWpIpx9VkBLMP9QU8Tn1z0ZtLPH5NMa2JYhM7A196xDVYapGouslKpc73Z/Sqn55BSC821 BssyAL3FxdwuVhxh8DsR6tiK8whKLKQ= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=daynix-com.20230601.gappssmtp.com header.s=20230601 header.b=r7r16peS; spf=pass (imf05.hostedemail.com: domain of akihiko.odaki@daynix.com designates 209.85.214.177 as permitted sender) smtp.mailfrom=akihiko.odaki@daynix.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736254113; a=rsa-sha256; cv=none; b=5iD/VpB2ZswG8Mpa4cOvLc1iVRyyFeZ6k/W/YqZT/VhYjuYRErmkiP6YyVUSynhkWJrYVG SwjG5exQussFfEGmZFXqWMLAFg27Q5GB9tRXdNca7AhZzk4DJjs8zmRhAHfIATWetwNXMD 5A/JU2RPNDOG5BTi8slC7atyufVT1po= Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2166f1e589cso6813975ad.3 for <linux-mm@kvack.org>; Tue, 07 Jan 2025 04:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1736254112; x=1736858912; 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=r7r16peSfGvyF9Sqou7UjVG5ba1sATY1JAi36coZFGSD0f07rV9cT4jRdEROr+uO9V KXCHg5rwrcQYpJCUFA63DLpcnX8k/Kz4RiqOK5IKdUD9nnkhkNEwaCn0Xol5k8y++MG8 6HRqdwu589depGwg3/mivu7dfeJQ9XZmwJP21QVREJ/fyk/lhaYvXvcCTVwGkB32yPVo CvRAo9UiwM/evPdclMZIojC/W9RAzcO3GQ5cxatOtOjpO8XYs83b5i9mTRvf0VljoxjS G46JraVs4+FON5VRbnbJ27nBHmwZccdXztYbKNPrTvl15QeA0Jmu+kNSRvVjOyyvaEoR lwOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736254112; x=1736858912; 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=b1y/q2UIBGN06TQdHJeOyI+pfugKixrXB3tNq7gMhneo+PFZZYUS/hAkLPXZ40tBqX MYTgs5dbcTzZWNv76F9qwRqNgRXdO+z8IDk8T0VdDB1oBOLeD5boice9gHeg9KLSb8Jl iIEuoln4ZLdnva3ffMd/FUWqTT5ZqQ1osvU43QHUZsIL8xOGYdTCBFWvPkdFB6YmzZj5 HxdK1iex9k1KUc54geLjhVfMwCeFKgaduhbe1qKQkpQZzGQIFvUPy4gpK4bFWsd9gUev FRG4Iwt/bKVdEoEjh23Fv9I8Fcxph+ezTFF1+in8vopvY9A7SdJWp2yTLHwXj2XAc0SF 0Guw== X-Gm-Message-State: AOJu0YzWvl+gY6PurnzSNFS+VE7OetHhX4jXuy5hzmw7YgFFAxYc/3BT lNMZVlqMgLY3jgJ+hYSTbjwgdxxupb2z5yHbtNgkH/C3lyTmCN7ylc94qe28+Ac= X-Gm-Gg: ASbGncv4B4TdH2hXP6R1WcCsxmyOjYyJgs9Zj3Kor1i2kYdGPipPY9Z+FvQpOJ+9IR8 hUULCsLyVbwCECsjdlycTbN2O1bPfQYe8Vh13JqU2ISvZl5iuNhbeE46xrNmTBtkLOtrSIGCMS/ bCvtcngyvoie9JA8Kte1yaYIYxp4c2otucVfiUk2i4A0NGmk+jHCKnY/gg6QlhtEjPjdgZ84AxV 5KmfEvWXG5OdOFT546MbjGHrPSumEJnZ1zZ/3xhxkVpL3TPsQAx9K8npZQ= X-Google-Smtp-Source: AGHT+IEgGWm+TwbUeO+9N7FURX28AGtJrPEUj7uS49yO94eCRFf85XIQjkIdMNAyflZYWE42i4plAQ== X-Received: by 2002:a17:903:22c6:b0:216:2474:3c9f with SMTP id d9443c01a7336-219e6f38177mr919043015ad.52.1736254112256; Tue, 07 Jan 2025 04:48:32 -0800 (PST) Received: from localhost ([157.82.203.37]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-219dca02f72sm310596305ad.249.2025.01.07.04.48.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 04:48:31 -0800 (PST) From: Akihiko Odaki <akihiko.odaki@daynix.com> Date: Tue, 07 Jan 2025 21:45:57 +0900 Subject: [PATCH v3 6/6] crash: Remove KEXEC_CORE_NOTE_NAME MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250107-elf-v3-6-99cb505b1ab2@daynix.com> References: <20250107-elf-v3-0-99cb505b1ab2@daynix.com> In-Reply-To: <20250107-elf-v3-0-99cb505b1ab2@daynix.com> To: Eric Biederman <ebiederm@xmission.com>, Kees Cook <kees@kernel.org>, Catalin Marinas <catalin.marinas@arm.com>, Mark Brown <broonie@kernel.org>, Dave Martin <Dave.Martin@arm.com>, Baoquan He <bhe@redhat.com>, Vivek Goyal <vgoyal@redhat.com>, Dave Young <dyoung@redhat.com> 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 <akihiko.odaki@daynix.com> X-Mailer: b4 0.14-dev-fd6e3 X-Rspamd-Queue-Id: 5B0D1100010 X-Stat-Signature: njapfmbuopkiuro9d1m4f34swpogjcjc X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1736254113-107662 X-HE-Meta: U2FsdGVkX1/38OvbPpizIoiFi+mL1krsWEuMuGqMUlihxv4MOBFyHUmuW/Sbq3zf1l9suQyWSZch2PFo6xv5TZN7l+28Ph7PdmzOT/mLm+TWbSNASqQkhPp2+ySwCltn01oy8CTiBkEf928aMT03VDFjhMslEsBCUnGj85NouhRe+XXxXfDCWgdqoZOGtyahLhiJjYw+oLX3wZHBZr9Ao7aKYzKPbz6j/DEXVyR/KFoDIAiAhENnrX+bUpKZzKY1Lj+WJ7E8/kd7vlfqFotzeNTnpzsDI63FFQTOJ4MMN//IFBM9PAPuTDwhH5d3LFxvP7CILUrr3eQg+i6I7Wo9GvrByNJlRIA3Rv0mrDx9NbYlhmjU3jkvCrBMPygZ6eb/YUFi8jx/OTK9QB7Tm+uNaNkozBzfVAiH5ssUHqtwDRuFOP5JvRVQdrz6h55AgyXABMBjMiAhPLsyijrCg/VbaZStT57uok0ZnDU4fvItYPg9t4RvzAPTl+kj7aLlBSSKZZACT/JnkVdcKfpVgtj4qnTqj2GmnJOkkOwfr6kjaHQe8C+REbr9JZCfJFokoWNfxon/z71xb22nwQaeSECrpx0mL+tgQTdmBxL1Uuu0l4ybN9UMgfDkJxcv8DBF3v9/Sd0pAl3PvtrZhU9/ZiRGEkKgn3rv3WDo3xsmyj8HI0G2XgFRFCt/VItLxJCh1ivm/e2/T6Ou8CaW8Okq6t48xX2Hyf3330XsJD+2QqrQQAKD7BxJa8Br0tNg1+qYxTR3GmC4r4X9POV94iCHDNcsTnL968btCjPZSl/KN6a1bo+7HPNt2IeJ/3i4b7kgY3G8MnvRxjAhtgg4zkdfjvq7ehsED6FxjOxnU0KiIcQA6r0vz+av44UzyYPXjB6578qH0qgkTEomdW5Md/a0Zh9+ri7YzGhNig0/lQ8PxfYT8i298BMgnGOjcHY4PtopHwoAuUrnq7jTsygTGnMP/ZZ rOlRfbVl rPM/Sx28Acyn/82J4CwZccPg5/G53najp7VwUr33Y14dRWMTU9VHwQMAYKsL3brTvoMDrZaHhbCmx0y1dP+IkLfYSAiee0DvmKTBCPJaSVgVc6cI43yuJtOSJsHE8acUVwvQO8148QIXbZrmKiUkeWdTFIdGSwcEUzmgRF9z18qr6uGgG3DbN+O818BbC+IjZxkEwwuIxB5NuYkiNnpP+dw9W4BmsE5CN0iLXa2xLc+GrYZcQlywlhC9B5mgz7dIY6+dA24Kzp7cvUTH1tlNH1VpkmKjwDAR+0FS1aoNhqDpwKbWMcxq7ZmzwZCuc0Dh3OCHRZh6Zsnjiu/vaj5wQU+hHAJrgT13MDNPpFGmua1ho2G1okrl9Lem1hzqMQqZx+h/Ti9T9PjPQoT1ouTIJPVr8qTqkffPtwgSy 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 | elf: Define note name macros | expand |
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 <linux/elfcore.h> #include <linux/elf.h> -#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)