Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6516070rdb; Fri, 15 Dec 2023 00:10:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEh3pUKntYTTobIBE8N6ay9Qlrjgf2w30tXnQw4SjxPuo+5fKMwQ7Bc//Nj+dFw26dMCkET X-Received: by 2002:a17:907:940b:b0:a1d:3839:a6fc with SMTP id dk11-20020a170907940b00b00a1d3839a6fcmr6748875ejc.88.1702627813878; Fri, 15 Dec 2023 00:10:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702627813; cv=none; d=google.com; s=arc-20160816; b=OJdU6KuUtQVLEoBD5nJgaQY5s+5SYA/H2Nx8VeiSCKVrowR9YuL3TgRq18h5mU4QlX vlv6va/Yy9aNb1G9JlvdgroH6m+ZHT7++X+y8bAh9IZGONcd+MD4y7zT15mGg26aE2HF Cxv4V6RdKniMuMmm7lW5z1kw5vq10GCDYNrrG2bRkQMD1hdK6suOG1EJX+7ileNJ05mb IyNI/Ae3AppH6LRrFjW8ENtk9k7GXnXqeYvKjkMdR5I7j1fdV7Mfa/duON7a609Ha6nb ILo0AATC4y84jiWqPBOGh6JicWAtJnnrv/RGAl1Sxy5Rxrdl0//9tDHKQTbCCN7cgH8h oaWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=JzWG/4o64FumP+WxSPc2A7cmnMu0/YsLnKZOkOhpCVs=; fh=HJZfX/0DhGqiPikMMxrlANwXs9+oMsvND+y1WZrHDWQ=; b=GhIjXyZhvpEWVc+KW7tpqtP3aZ1lvzkqUfBFjJLG7vXlKbWwmoWjbrWp9QvDmEEufp BzE+hEKlk/VOurJ7XHqSnRbFhHgxOUZFscjttDie5KMW7XhAoJOzRJDYoMDivbVON/Zx gF10dxnCNyEneQtIr4k2Kbw//6FZngdxOHCNqMPq8HGD+Gd1LLX4/G03FuskVb3LINBw USZRz8KFSY1r1cWdFbS/KmTVVDSTTqJUeuCpRQDzbYdaLNgZfcQnjrjPEfEN10upHWSB dBnkYAszDrY4csO4rZMwl2IWBE89TKLX4NZb/dok/Wgf+NIhGaOS9GuRin9COxWS/vXw A+YQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZrukgY4W; spf=pass (google.com: domain of linux-kernel+bounces-591-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-591-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v8-20020a170906b00800b00a1d3eccb0f0si6966806ejy.428.2023.12.15.00.10.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:10:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-591-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZrukgY4W; spf=pass (google.com: domain of linux-kernel+bounces-591-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-591-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9B2EE1F2318C for ; Fri, 15 Dec 2023 08:10:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7D9D817737; Fri, 15 Dec 2023 08:09:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZrukgY4W" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 801B9168B7 for ; Fri, 15 Dec 2023 08:09:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f180.google.com with SMTP id 5614622812f47-3b844357f7cso360803b6e.1 for ; Fri, 15 Dec 2023 00:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702627792; x=1703232592; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JzWG/4o64FumP+WxSPc2A7cmnMu0/YsLnKZOkOhpCVs=; b=ZrukgY4WTq4U2Au4w1rIYKnnJKR5ZlB94nbpEfzf076i4F7izXN5R799hrR8Y5qZuq geXEcRPYOYy7BL4fBB/lqGzZxu0SCDkBC7Ju1DP83A1wpxIE9k/1jExGBEvmfJ/sVPyO rSC+47fBGxe2wvgson+piGPnZVIW0yWV6Rj3hMB6MYCxZJ/4Cy54rRD4aXs9YGy0jdnO FohNDgTVWDm/Sehh6fTQCBje97MZl/pIes/0yN6Fb0CTFWWlIPzjXfe6PwcUuVCQuzUW UQle4oMhxiv4nkms+BElGLaPuVXWUoTpsay/CAKzSBBuY5QyHqBD5btjzTSEOGDyvtQJ zqlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702627792; x=1703232592; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JzWG/4o64FumP+WxSPc2A7cmnMu0/YsLnKZOkOhpCVs=; b=GaMQnMQZrnhgIQoVwLAN0dK0yGp4h+AgB2HwWQjoUluBUfAnGX0ejM/fOohdu5k9lt f45H7BiHENDKbXoXAP903orMM13bnyvt8jnaPdh8w0khXLXZugKYbjUecEvBz8oQJJtR HE/40iKJ3sg61irlWe2X02GTVzvAO2lY5TyhjOhbpXaKWVE1/xUfQVKafgNhvGM/Rb43 inrNj+YY3/w8h67yPwPTj/D2zVIjBSnztuT7tFT3JkVcSkig47BwgCLtw6ctLOAoXGMA frZ0qh1OI5F9yO/IDmMvjcdU3f5/VZgRUYKnRKhh2Kp70MCdQKuHmFSCKMSsT3556Ikv 6Tdw== X-Gm-Message-State: AOJu0YxPiWVXKT7muY+57mYF83F3ffv8OfuuPFSq61RA6m1aHhPj+Bht evMTxNv0TLyg7vXLrcpCSnbJmKoXU5o= X-Received: by 2002:a05:6808:14c9:b0:3b8:b063:6ba5 with SMTP id f9-20020a05680814c900b003b8b0636ba5mr14884916oiw.84.1702627792007; Fri, 15 Dec 2023 00:09:52 -0800 (PST) Received: from code.. ([144.202.108.46]) by smtp.gmail.com with ESMTPSA id d8-20020a056a00198800b006cee656cb35sm11783792pfl.156.2023.12.15.00.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 00:09:51 -0800 (PST) From: Yuntao Wang To: linux-kernel@vger.kernel.org, kexec@lists.infradead.org, x86@kernel.org Cc: Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Jonathan Corbet , Eric Biederman , Yuntao Wang Subject: [PATCH 0/3] Some bug fixes and cleanups related to kexec Date: Fri, 15 Dec 2023 16:09:07 +0800 Message-ID: <20231215080910.173338-1-ytcoode@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series includes some bug fixes and cleanups for kexec. Yuntao Wang (3): kexec_file: fix incorrect end value passed to kimage_is_destination_range() kexec_file: fix incorrect temp_start value in locate_mem_hole_top_down() x86/kexec: use pr_err() instead of pr_debug() when an error occurs arch/x86/kernel/kexec-bzimage64.c | 2 +- kernel/kexec_file.c | 11 +++++------ mm/highmem.c | 2 -- 3 files changed, 6 insertions(+), 9 deletions(-) -- 2.43.0