From nobody Thu Mar 28 09:54:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1678985065; cv=none; d=zohomail.com; s=zohoarc; b=d2HRu492cp9w79lpULEdVySn1rUPPFvGWh1LrZvj3594W2Rbi7LlssFEnOpkQyaMIgD12eLP/qZSiqY6kfpe1Eycj6mif3LITiWLXzBCfrLOZP/uN3jPM2qZvmLO/j6MmTkAQ2KwhOCCAM7no7oiWxllQOn87x6X1FEBZP25ER0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678985065; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=QxFxWR/KwNqWUfgbN6kCM9vb2gHfOtn9xHZ/ZPjul4U=; b=ROCDD1ppQueCJfhFGsVVO6yvhoBMQvCX1rJlqp196psdwbpRLkgvgPaIEoPGzMwgLF7CynKirP9kpwKefb12/HtxMS3ZWBtVwrip2lprMIdCnfalMyKbalRaBk845oCnwhOlHnpLoSpLiWKLetUJ/ZCAdm/6NAoth7Y518wxJQY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1678985065502239.19664851483765; Thu, 16 Mar 2023 09:44:25 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.510731.789013 (Exim 4.92) (envelope-from ) id 1pcqhx-0003hL-KO; Thu, 16 Mar 2023 16:44:05 +0000 Received: by outflank-mailman (output) from mailman id 510731.789013; Thu, 16 Mar 2023 16:44:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pcqhx-0003gN-EY; Thu, 16 Mar 2023 16:44:05 +0000 Received: by outflank-mailman (input) for mailman id 510731; Thu, 16 Mar 2023 16:44:03 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pcqhv-0001vH-IC for xen-devel@lists.xenproject.org; Thu, 16 Mar 2023 16:44:03 +0000 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [2a00:1450:4864:20::532]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id c264a272-c419-11ed-87f5-c1b5be75604c; Thu, 16 Mar 2023 17:44:03 +0100 (CET) Received: by mail-ed1-x532.google.com with SMTP id ek18so10081498edb.6 for ; Thu, 16 Mar 2023 09:44:03 -0700 (PDT) Received: from fedora.. (46.204.101.131.nat.umts.dynamic.t-mobile.pl. [46.204.101.131]) by smtp.gmail.com with ESMTPSA id hp12-20020a1709073e0c00b00925ce7c7705sm4019163ejc.162.2023.03.16.09.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 09:44:02 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: c264a272-c419-11ed-87f5-c1b5be75604c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678985042; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QxFxWR/KwNqWUfgbN6kCM9vb2gHfOtn9xHZ/ZPjul4U=; b=hf8g/Fxc5oaFRgjbBfeo44LV4rFHntMIDn1UufA20RsVgdRbEnhVEjDukHMIqwZgOE YmiHJ9Bbi0Ol9KUaqXBK0PZZuJUNJh+oAgVTDzj6/w9WACsgPQVm+omlHfJmN6dIFzwT 2KXrADc4QUHHv4jJXB/u1HPaoXee2fCUrLNIQYmEKB7ca4N1ajrFCvgnzFHaCbOiBxX0 KrhElEeqCD+NqvIFYbU67xa1CQ8ZS+P60GFll3qFxHbA06Y+BJLOeEYtsasWRA8GRWtb nNcQ/GTBhe2tQZSD+VDo56nUTbH4KWwjMmGIhoYA2CSXp6zCleruMhvMaIngNJhGuCyY I28Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678985042; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QxFxWR/KwNqWUfgbN6kCM9vb2gHfOtn9xHZ/ZPjul4U=; b=Dd0M5S1djZvkGp4x81eBEafhpZp+H6Ov4uTPf7DSYjnmPZTfSWPEXxUP12f/WkyDpT sZnHMmrjuKEa9V+wbzvr1IIOVhYhzzC+N7LQZBuACUErhpA1uxWUAzr92iouiyiG+0LY xZGJN22ASJCp5JarNNpyTRq/ha4b91Vc04R+OpjC6ukt2bVM42KetSrHOZ73a4Pw80hB MnQ22pcyqU61NcEOwOwqCurWhVXRgcbV6t6aw3UQiy4cwf6JEaKt51LbD/GdUrFWxHiY lRUZnpyChpXt3mGYmXzm6PKG8O3PgmPeB+5pgIUFxce3rvGGG+cxOwyV+sKMuULzPeBE vC/Q== X-Gm-Message-State: AO0yUKUJa4RQe7NqCs2nCGTgyfkB/u2X6PMSOh5i+W36cm9QkUhhE8NF ZbCyi3skO3NVbzoQ1L2B6k7x3AGPY8/Nkw== X-Google-Smtp-Source: AK7set8osAS2FBpUkGXOeHYbc87SoPDnIeSlNu4XfZkJO1YccDHGo05zz52VAb1COkwDkPuSqeblHg== X-Received: by 2002:a17:906:f1d9:b0:92b:e566:98fb with SMTP id gx25-20020a170906f1d900b0092be56698fbmr11998167ejb.12.1678985042704; Thu, 16 Mar 2023 09:44:02 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Julien Grall , Jan Beulich , Andrew Cooper , Stefano Stabellini , Gianluca Guida , Oleksii Kurochko , Bob Eshleman , Alistair Francis , Connor Davis Subject: [PATCH v2 3/3] xen/riscv: remove dummy_bss variable Date: Thu, 16 Mar 2023 18:43:54 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1678985067531100003 Content-Type: text/plain; charset="utf-8" After introduction of initial pagetables there is no any sense in dummy_bss variable as bss section will not be empty anymore. Signed-off-by: Oleksii Kurochko --- Changes in V2: * patch was introduced in the current one patch series (v2). --- xen/arch/riscv/setup.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/xen/arch/riscv/setup.c b/xen/arch/riscv/setup.c index a3481973ff..276efb8034 100644 --- a/xen/arch/riscv/setup.c +++ b/xen/arch/riscv/setup.c @@ -15,14 +15,6 @@ unsigned char __initdata cpu0_boot_stack[STACK_SIZE] =20 struct boot_info boot_info =3D { (unsigned long)&_start, (unsigned long)&_= end, 0UL, 0UL }; =20 -/* =20 - * To be sure that .bss isn't zero. It will simplify code of - * .bss initialization. - * TODO: - * To be deleted when the first real .bss user appears - */ -int dummy_bss __attribute__((unused)); - static void fill_boot_info(void) { boot_info.load_start =3D (unsigned long)_start; --=20 2.39.2