Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1p8MYl-0000zN-Au for mharc-qemu-riscv@gnu.org; Thu, 22 Dec 2022 09:28:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8MYi-0000yY-HE for qemu-riscv@nongnu.org; Thu, 22 Dec 2022 09:28:32 -0500 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8MYg-0006dY-R7 for qemu-riscv@nongnu.org; Thu, 22 Dec 2022 09:28:32 -0500 Received: by mail-wr1-x42c.google.com with SMTP id h16so1790841wrz.12 for ; Thu, 22 Dec 2022 06:28:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hW/oKlF3/WVva6dxidB/M4dgoBLAlkvUcex40TKH1Tk=; b=LO6r7nZbGgOrzZaWwksQcHn04GkHcPS3tCYozrPK7B40fb2tCuxP543MyzC6uOj4E9 +y8NMd4gpT8neTX8CeOHZuq2yQy85I8AxoX0yZuHZnLLqdVufiypusg+Pm0xtxifyR+Z zLXNUAkAhiqyKX12J1lRWT5QHBdalWuBLhbBW6n4s1bmKEtp0Gewb+XTSbQoiAAZh3JJ obmawXISq1J4p+Bt5hpmE1vf6asAwiRtR/HjUijTogEdFZ+nOf/aOD6QTAzlwQXoAB3e 2syF5CWQxSdP6ayDW/Go4g5bh40Ju5Jn/ksSltwtM4J2OlqBwXECoBYgrFZSl7rOsb+b r4Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hW/oKlF3/WVva6dxidB/M4dgoBLAlkvUcex40TKH1Tk=; b=1Pv0JLKHKlEwJdiSbrYcb/9pYQOqDfxDatVdHp+RvGZx7dHv3z1tDet0S/tdZBsI17 yMhLI4SKdARhrbLfamCb3DCKCrLMBTbKcAXojyD9KdRt1FsHGQQ1Wwf35WOcy3twOSYT ip27v8Hbu72msP4nmIsgyc92qfnpwtSdtRqbjmZHwz6lVQ2r8dJ+e/aGqw7MdZAxT++U FGSoNoqZN9iU1fUrb7sedAlK5rKtdIb6f0mSetyontqrcnFDgWw8TGsRxgZ5BDpTFiQa +xDnpuu+Slxtbles+bHHAJsXncQhhmkDruVV9hZQs9Neb+VsvRJzBiLMW0dYkQoBXPm5 AUuw== X-Gm-Message-State: AFqh2kokJPAZ/S2RkM6Tkm5a7kTX0jpZyLu52bwnDcfCeWxP8yOmOEDa Qoxd279bGzaZBu+OOJmxyfGOcQ== X-Google-Smtp-Source: AMrXdXuu3NpTgYOL27ddg8X/muRGOez3MGFiJHIarAPbQ9r2tQCsRp4JZ60nOfpN4yVlhHGR5mny4A== X-Received: by 2002:adf:db47:0:b0:242:fd7:285f with SMTP id f7-20020adfdb47000000b002420fd7285fmr3613899wrj.45.1671719307588; Thu, 22 Dec 2022 06:28:27 -0800 (PST) Received: from [192.168.30.216] ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id b2-20020adff242000000b0023662245d3csm659699wrp.95.2022.12.22.06.28.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Dec 2022 06:28:27 -0800 (PST) Message-ID: <457567bf-d660-6a14-91c1-bd500db8d545@linaro.org> Date: Thu, 22 Dec 2022 15:28:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH 10/15] hw/riscv/boot.c: use MachineState in riscv_load_kernel() Content-Language: en-US To: Daniel Henrique Barboza , qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, Bin Meng , Palmer Dabbelt References: <20221221182300.307900-1-dbarboza@ventanamicro.com> <20221221182300.307900-11-dbarboza@ventanamicro.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= In-Reply-To: <20221221182300.307900-11-dbarboza@ventanamicro.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=philmd@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.148, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2022 14:28:32 -0000 On 21/12/22 19:22, Daniel Henrique Barboza wrote: > All callers are using kernel_filename as machine->kernel_filename. > > This will also simplify the changes in riscv_load_kernel() that we're > going to do next. > > Cc: Palmer Dabbelt > Signed-off-by: Daniel Henrique Barboza > --- > hw/riscv/boot.c | 3 ++- > hw/riscv/microchip_pfsoc.c | 3 +-- > hw/riscv/opentitan.c | 3 +-- > hw/riscv/sifive_e.c | 3 +-- > hw/riscv/sifive_u.c | 3 +-- > hw/riscv/spike.c | 3 +-- > hw/riscv/virt.c | 3 +-- > include/hw/riscv/boot.h | 2 +- > 8 files changed, 9 insertions(+), 14 deletions(-) Reviewed-by: Philippe Mathieu-Daudé