Message ID | 20250115-elf-v5-6-0f9e55bbb2fc@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 5C451C02185 for <linux-mm@archiver.kernel.org>; Wed, 15 Jan 2025 05:49:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BACDE280008; Wed, 15 Jan 2025 00:49:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B8341280005; Wed, 15 Jan 2025 00:49:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A4B13280008; Wed, 15 Jan 2025 00:49:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 84CF4280005 for <linux-mm@kvack.org>; Wed, 15 Jan 2025 00:49:20 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 3881412078E for <linux-mm@kvack.org>; Wed, 15 Jan 2025 05:49:20 +0000 (UTC) X-FDA: 83008608480.29.51293AC Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by imf09.hostedemail.com (Postfix) with ESMTP id 52106140006 for <linux-mm@kvack.org>; Wed, 15 Jan 2025 05:49:18 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=daynix-com.20230601.gappssmtp.com header.s=20230601 header.b=uyeu75I4; spf=pass (imf09.hostedemail.com: domain of akihiko.odaki@daynix.com designates 209.85.214.174 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=1736920158; 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=88SqYtXaTV08jsATT/J9IavghVGb0T0MbX3fafAbdCI=; b=ZEokYqB9dZmenxzPZncBLoxVuwz+YH3SEGXEMflASV3aAgjtXLEtGdJzybbdo6vSlxPdRr y6hv2siaSVh1+Cltyt2v1J2Pwp7SC4JPkOMONuBGhY55xfKzi5L1+f/bMV/L9jxfEulLM3 +uh7/oOL3xmFndRUiRvyMHo6AL+1JP4= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736920158; a=rsa-sha256; cv=none; b=5Aua2AsGTDsK2OMzvK1tece1YAQMtzG9cyM/5D08k3T1NqjCr10aTPbtnIdASeyz6AkTrA B+rh6roP9x2237EM6qD9tsCNbq1Ql1ifi4jKQQYHw3igIK2cxKHQD1dA+1bU+xVpNiK5Af AqDJbmpI06SR6lH5oYdbnFYdxcDFWvA= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=daynix-com.20230601.gappssmtp.com header.s=20230601 header.b=uyeu75I4; spf=pass (imf09.hostedemail.com: domain of akihiko.odaki@daynix.com designates 209.85.214.174 as permitted sender) smtp.mailfrom=akihiko.odaki@daynix.com; dmarc=none Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-21636268e43so148572905ad.2 for <linux-mm@kvack.org>; Tue, 14 Jan 2025 21:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1736920157; x=1737524957; 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=88SqYtXaTV08jsATT/J9IavghVGb0T0MbX3fafAbdCI=; b=uyeu75I413IK7vXfq8+IB0rx+Yc5UqCBcGZ7O0Og+WjCddvvUpv/9ijSGPBTeIr6vi /oMi7KMrApznY4xQGSXY+pBJ481hl1udrZ/k3HCr7QAMddG8plBQVLbqwEX1nKPMgKgo EGldfG6nU7bSJAOcIWtepfL46qyGxDSRMVy1CV97PaGNuFinZC8hJ76Z6v67jfsJw6iW +PkcsFBa7pcpi18NcmkBfQoM+esxsyXBa/CCBxt0gh33Ho+2I+2/CAgfrYtZyAvh5uDR XLCCoQqFxvMPvCZHegRz5ZMJjMwhmXi3KZ64KGnawbp8/EhtHvJ7SKhjDaDWL4yRxhLf 5N2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736920157; x=1737524957; 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=88SqYtXaTV08jsATT/J9IavghVGb0T0MbX3fafAbdCI=; b=aTCBotqaYl1r2fxaeUdj6jGsJXSU7N2db/aLk/hzK9puwKjgb4NXniKUbhODn8QNAz RVnuuwkJjHpcKn8HXFgqZyHDvaErLevuBmvDUf11i1bGzjnog/k1FBWiDoQxZqzWvQb0 20M5U4pAnWGKXn6rj4NFbny7qSz4si8plw7koj7eeZk+EeS9MmR9sITkLLq8xZX/a79j HsGbd+dNGcINxGvDDuAy9d6bzVzF0dKPdNb9E9786D0hzbYdgBfDCtk1Toc45UNSkHxy O+lRcJ9BDBAViBuX2B2UQ0r6zmoZ7XubPdbDVOrOWQuLTd3AnpLrsr7sudLb0VgVXyXF oJ7A== X-Gm-Message-State: AOJu0YzGNR+eEmRqFfURi8J5itPjNBs28RRJ4YSoxvnX03N2zAT+Sa9o tIUqC8vRFwtIi2Opsd1GjWwQwRqpDMroo81YHtnlUC17S9lOlGri9DtLyLTxmms= X-Gm-Gg: ASbGnctLfaEdH8tBtFr1AeSXoKt4GZHyjisUOIw1127pu023KznNwk0ezEbfQfQ9b++ AGr8MFlWrVpnZZ64h2kRBwuh7qwkD/sAYjic9NEl5zqgXLzX7g200hxJaYcXbwixItg3EUzh+W9 So0OS07ZBbuMrlItBhWHz4w/1jkkZYGQaMhjXUTNavIk/96nxFt16D5Jwyo0u3//eGOagC7+wIf j6/u68fzpOcVI0ANQ8Ixy2DeqZXEnZn8hqCJaWeI7oFILrujtMA0bM5m9Y= X-Google-Smtp-Source: AGHT+IE7CP/5jGWZAR0IrIqQIqvoQb7g5wi9hxFsU0CFVXu0dR68h2h3F8IAezzLwnE0Rlv/Ybh8/Q== X-Received: by 2002:a17:902:d48a:b0:216:4064:53ad with SMTP id d9443c01a7336-21a840109d2mr433462125ad.48.1736920157113; Tue, 14 Jan 2025 21:49:17 -0800 (PST) Received: from localhost ([157.82.203.37]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-21a9f22e591sm76124125ad.180.2025.01.14.21.49.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Jan 2025 21:49:16 -0800 (PST) From: Akihiko Odaki <akihiko.odaki@daynix.com> Date: Wed, 15 Jan 2025 14:48:03 +0900 Subject: [PATCH v5 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: <20250115-elf-v5-6-0f9e55bbb2fc@daynix.com> References: <20250115-elf-v5-0-0f9e55bbb2fc@daynix.com> In-Reply-To: <20250115-elf-v5-0-0f9e55bbb2fc@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>, LEROY Christophe <christophe.leroy2@cs-soprasteria.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: 52106140006 X-Rspam-User: X-Rspamd-Server: rspam07 X-Stat-Signature: wwx85jkz5wtff839cr3r19cp9z11rtxu X-HE-Tag: 1736920158-928270 X-HE-Meta: U2FsdGVkX1+FMxRVE1ksEg4XFjqBYbB2GtVH82D0/ZwDW2uocLCAamoqYp/deUPuqQNfWecnH7k5ljDo+7z9wGail1N3eKr5EViGnhWbtJ2oF0Cq0IzMZfdF+hcd/TURN1cBq1h/QsYgLH6N4PbRMvgMHo+PYE79DvQ6MvgOAeP8NAGtPqAeYxdVJ9AiJcozb+0XutRpZCT2FliFKyHdxdDEDmeMbkeg82N+Rab6x3fpMeUhCBoOXLXrP4L2Pvw6s/+pAx4DrNsapBQ/3TqU8oqs0h2fNoq4n3a/bnZTE31dvd9kW05uZYeyaVan64CTdI9gR+tBZepSdvlZarAS+bxT3lvvinQTwogml76Venj9NXKTmRKfae/UcUNmyysWsQNMbbJmidURZiRtsStI7G1LLVJBg6kUDlr/il5IwjJgQnp/Ugoq30s/ZYS492jKAMXO5AI0T+z5J0K3W7XvcD90e8EYI59W48x7t4thcbK5S9339ILPmku6Pk3Xb0p3wT8xEOk/WcGEfQAUWx18/wrQtUFfslHY2or6Wlr5EPiL84NodYUlXgt9yO8Qj2daGcte4COve9bs4pTUIeLx/VLDffqTT45fzHxB8Q7GFoBalAtAjLneEjn/mgCs1Edek5tUjVJNccS6CUMN0zTWHJGnyH+wCfAAFBce/YdKoDlIXbNX+9rqmBpg9RzDq9gISPflJApdpRSel9z82VThf7AHiYLMf9VHT0uyejFNTPkUyD61hkTm70HR8PqmCEyUQMK5ImhMc2zo61eq4Bb1UMNRMwkVoD13WwZiZQDPIF6HfN5MnGh3rn/mpmvVSohOzsd+/8K3r7CWKvD0oHTzY1oY5NjDH8D9KQPacCdhbBiHaJebNNWgm6jpy9n5mdYL0/XyrAk1fWZvIiwuI+yCu58/vK1n7IpirtjzkvvnTOYiNFtrRZt8ZJT5rNBnPAdVLYBNMTUyHAvcFjkPQk1 VrsC13Nm +W2BGjw2TR6afYXaOqWbKbi29By6b6m+Esez1mdVt6J+M1Ig0Gg8jeFM5nFi4L8ypS2mJwMvTMRnFQH9vWtx2wdgkw4/Kh/8AWVHt25b/v2CFBsvbDN1dN3hchuIXmkkMJFAi8wUUZ0hCC1xjCwAZab3KFBE6brGL8mnKNO8yRdoy/ulh6Xz66UJIEuDMHbTrE83W5bvbajs11NyEnNG7hWRErIuDXtKlZogEpgx0nbPb3mQoPyB+82L7V8V884wlwka04S9dQ1O7s3QBk0URDBjp4nctNEB3lkuxm7+z65RSaWdFxSvqHy0xkCly8SHQkciz18rBWsbcT0AvQ/Kq6Z7ibxCj7dLXENsb9byBFQMvoeAhu7TW5c0r1lfJ55DpcF6lGRXzJ1A5FqLL0EeHRM1vvqkU5VzRAvKw4BywyDo+NFdzaPjdbmmO1sp2bUpVWtlbFR3QsH5OHUTNd5R/ax2p+w== 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)