Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1479329rwb; Thu, 15 Dec 2022 10:31:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf4IslG7oYf6GVM5sTh9r/iPqBvcP47+Ym4YAaGnHk3vRcdfZ8+9AXHLD9Ni1BgkkLIqyRyD X-Received: by 2002:a17:90b:2742:b0:214:1329:de91 with SMTP id qi2-20020a17090b274200b002141329de91mr30135976pjb.40.1671129098801; Thu, 15 Dec 2022 10:31:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671129098; cv=none; d=google.com; s=arc-20160816; b=xn2nHCezmUPCs/iCwVE0Qf1b0rL1AqH1rYGHLPjJQkWUartOTlWQsgqYsXf6iwzWJ9 +Qq34DgvYrDZ1kRWDlDxDvCbGvqgu5BGp44W9ZFHqrCyY0A8T9qIAJIJR+z3lqBvfHc2 t/OqGP7W6r+pKFbi1jEAbvvaVnas4YIAHELwjRecb2wOPF82Z7G88J3ZRJ1/jonQ+mBX RDxaK3Zp0o7IDYr0ab5ekU91UeOIDP8S5Mi059YaX1xBvj5ywBwRnNknJQ61eCv+yPLp 1fj9752LUAGH3vIAHo6E+pnJFPB12W+YvZGoMWBXqlRYwnIXKonOqIPQwhlagqt+e5GG PZKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=L54rUrb0b/sijQkERsnAFN10thl86xauRBzzFWm/w54=; b=TunkCQb55ab8rScN2fBkHB8nz5VyJODZpeinDrGM01Cd1u43Qcr185jqgVoxR1pLms m7OLzhxm8L4ksJ/gNdg+bGssG/jaT5e2FR0PgYRr12SQfYxqeN+ojiSwCh0xsCOfoh5X pPskFTjmmxHkK3bZ60gZgMeCqPurBTeOQpvQ6Qs5CG+5K+tIfboWphaiAB6ixPielgGZ tnRjplUFxqZeGUpM0lOO6TkoooyjTrHKihZMvt4iuB0B3k99Wn2TKxFrXpbpU3zauJ83 33xtibMdBBKWpR1F5IIBu5ybyorpNpETV+YliVQEtis/Bn4b0S0Sc5AMghwsp12bVlqm CGVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i4b68wh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id li7-20020a17090b48c700b001f31da6b2d2si5354686pjb.154.2022.12.15.10.31.30; Thu, 15 Dec 2022 10:31:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i4b68wh6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbiLOSXy (ORCPT + 69 others); Thu, 15 Dec 2022 13:23:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229979AbiLOSXs (ORCPT ); Thu, 15 Dec 2022 13:23:48 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E1B64667C for ; Thu, 15 Dec 2022 10:23:47 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 13DE3B81C34 for ; Thu, 15 Dec 2022 18:23:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 727C5C433D2; Thu, 15 Dec 2022 18:23:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671128624; bh=8PNaS5DZTOGpbTorR0Yw13t8v/jr0DO4D+UXelTK8hc=; h=From:To:Cc:Subject:Date:From; b=i4b68wh65v/O6+kXx38KJmc6T8psOrM32ER6BScfH2hJKDEe06wrjSPnstjpvsKrI p4MgMiyt4NoIwa17EGFXdVFThNmuYFyubtkVMvg2HiXxJhWzEmZMqwXJU2P+nVtaiD Wx3W/clFzJKnjsWgzhbqdbB6UROKSa2vEwrpS5RRy57VgU/DuYPfhzM0rNMFtc/Xcr h/rGurGYsr57sGNU3URxf3smx8E0ZKfFxGnDRoMKSW5IIIlrHoNxM3RhGw3sr5QILn k7Qs8xiLhY8ja0BUkTIV0NsH9oDui1KwRFGAG+yxFSotoGSC0JV8WQV8i4LeRLI+qJ zHbS0BrEf45/Q== From: Bjorn Helgaas To: Eric Biederman Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 0/2] kexec: Remove unnecessary arch hook Date: Thu, 15 Dec 2022 12:23:37 -0600 Message-Id: <20221215182339.129803-1-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas There are no arch-specific things in arch_kexec_kernel_image_load(), so remove it and just use the generic version. Bjorn Helgaas (2): x86/kexec: Remove unnecessary arch_kexec_kernel_image_load() kexec: Remove unnecessary arch_kexec_kernel_image_load() arch/x86/include/asm/kexec.h | 3 --- arch/x86/kernel/machine_kexec_64.c | 11 ----------- include/linux/kexec.h | 8 -------- kernel/kexec_file.c | 6 +++--- 4 files changed, 3 insertions(+), 25 deletions(-) -- 2.25.1