From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0EF61C32771 for ; Mon, 26 Sep 2022 18:12:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229867AbiIZSMn (ORCPT ); Mon, 26 Sep 2022 14:12:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231313AbiIZSMT (ORCPT ); Mon, 26 Sep 2022 14:12:19 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2A191EAFB for ; Mon, 26 Sep 2022 11:00:01 -0700 (PDT) Received: from zn.tnic (p200300ea9733e74d329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e74d:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 349A81EC01CE; Mon, 26 Sep 2022 19:59:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1664215195; h=from:from: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:in-reply-to:in-reply-to: references:references; bh=aaQPbG0xc8cO8CY+sDVDBPoIq1DASoXAvqG8pMdSfu4=; b=iNWiwo0aB86gJNicJ8bbb5zo1rLFMMbpHq9XPRP04SBXnroKgkd1G2sC3NBPuFsklzNEKf Oh6mu9ITQZGbpkQXB48T0xEO2R8Qy4HnxgoGsPvjRr+66+7XVto7p8AAyV+wP1To+Z0obi fc9GmAw6X+XIp0gu/P6ZkY4OxXDyGN0= Date: Mon, 26 Sep 2022 19:59:50 +0200 From: Borislav Petkov To: "H. Peter Anvin" Cc: Li Zetao , tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, brijesh.singh@amd.com, michael.roth@amd.com, venu.busireddy@oracle.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] x86/sev: Remove unused variable "err" in enforce_vmpl0() Message-ID: References: <20220923113209.3046960-1-lizetao1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 26, 2022 at 10:52:08AM -0700, H. Peter Anvin wrote: > The boot code really needs to be refactored, especially that the > real-mode BIOS code is built in the root of that tree. You're going to have to expand on that a bit and give more details as to what do you mean exactly. I think you mean arch/x86/realmode/ but I'm not sure... Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette