Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp217983rwl; Thu, 23 Mar 2023 15:11:08 -0700 (PDT) X-Google-Smtp-Source: AKy350ZSX+RgENLXQZGpezOIucDIt6boTR1eYJfqjQmoKSCgHH2eHvqKZDiHUl8dzbVCIldlspfI X-Received: by 2002:aa7:c703:0:b0:4fa:b302:84d4 with SMTP id i3-20020aa7c703000000b004fab30284d4mr984805edq.13.1679609468308; Thu, 23 Mar 2023 15:11:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679609468; cv=none; d=google.com; s=arc-20160816; b=h1lCR3igA7bLzCA+rzXJ95ecrrW9FMiuIgyE3tfxl82q0nS4jJyG/kfoJ89cBVnzO2 AAs1mm2nlZMiJ+4nHRT3pTRUJHzFCZ1BUUZUob/mVe0Jy4XZKlUPzGTmi5lnI1m6I8zU E9b30qO99cCRZ5IeKXE9JMxn8DdsIUa3wjBEVhTZqz4sq94xVZFJawVoR/akIIKq4kka o591pFrdAtWF3IGPRwXTwFqfbj/x2fB5LAGEy45tBNQCpRn6H8VtmQ5sIZZKR96kar5Z CsmTY1HY1a+8QKxW5/Dw2gt46X3XKdZWrfG4uY4AAnaC2zgBuhbuC4QlRb1nZrX54dGa Hceg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=NiAJ/BQToBLgV5aaC5dn9rnRrTRDvSRVkIx0PZqOwVw=; b=XIIccogseTCzyNizJUp2jv8KQm9p/W2w/7w3dA13/dgQzYM1Ec8imRBcFtH3ZE9BG3 HVbfIFJ+m6YJiok9ILXcKib7TNk84sNo6M6uK4tkwDXTyeTgggjUbV/22/3PmbQxiWgG 42nFSTGwaYnDnJWQo7y88fO1ONJhck9WBGoOnTo/DGFgd5AOPoFKJboA/IUK50gACavK 9ZYErQVTV36hnitQMQ18aSpZZNrHukWtOCKIZzJFMDbURF2EuGQ0X/5hnt27hNQqAzeH eEl4P/gk7Wos9jqoiOb8Eul6Tv4cleLtWrXD3NfAELQLOAkvx7SwoViEGD095CeZNpk/ fCpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=yWnmA7jh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e2-20020a056402148200b0050202fad39dsi3832530edv.635.2023.03.23.15.10.41; Thu, 23 Mar 2023 15:11:08 -0700 (PDT) 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=@linux-foundation.org header.s=korg header.b=yWnmA7jh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbjCWWIA (ORCPT + 99 others); Thu, 23 Mar 2023 18:08:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229791AbjCWWH7 (ORCPT ); Thu, 23 Mar 2023 18:07:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D375E39C for ; Thu, 23 Mar 2023 15:07:58 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id BC91162864 for ; Thu, 23 Mar 2023 22:07:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01901C433EF; Thu, 23 Mar 2023 22:07:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1679609277; bh=reLqZ6mL7WqZDYYjDhmQkKBmgPIHanFWRcBr7gpKytk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=yWnmA7jho28TdcB1GYNPLBSK1E0F2yavbxbGf5yE5BOHyqq4nxKHTwWpAFBQ7gqdq kK4H+M4qD3qNbibUmbwo3f5JF0Hn3Xf21nMMrCr7TMJobLuTsAkNci/EDg68VV2ZT6 A/q4A6FXFsWJh+LO4VGt3pxf9RZ+HpGXB6OyFJ2o= Date: Thu, 23 Mar 2023 15:07:55 -0700 From: Andrew Morton To: Baoquan He Cc: Bjorn Helgaas , x86@kernel.org, Eric Biederman , Dave Hansen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H . Peter Anvin" , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: Re: [PATCH v2 0/2] kexec: Remove unnecessary arch hook Message-Id: <20230323150755.06f8977fa2b860b8e02c37c3@linux-foundation.org> In-Reply-To: References: <20230307224416.907040-1-helgaas@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Thu, 23 Mar 2023 15:49:20 +0800 Baoquan He wrote: > Hi, > > On 03/07/23 at 04:44pm, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > > > There are no arch-specific things in arch_kexec_kernel_image_load(), so > > remove it and just use the generic version. > > > > v1 is at: > > https://lore.kernel.org/all/20221215182339.129803-1-helgaas@kernel.org/ > > > > This v2 is trivially rebased to v6.3-rc1 and the commit log expanded > > slightly. > > This is an obvious and good cleanup patchset, who should I ping to ask > for accepting? It's touching kexec generic code, while the hook > only exists on x86 ARCH. I grabbed them