Received: by 2002:ac2:5937:0:0:0:0:0 with SMTP id v23csp4924384lfi; Tue, 7 Apr 2020 01:26:27 -0700 (PDT) X-Google-Smtp-Source: APiQypLJrnWH6lO+yKR9e882absaRshHo3guLxJ1TY2wYSgNxXC4h/Za/yYFqNZ42bNdwFbsMT1E X-Received: by 2002:ac8:35e2:: with SMTP id l31mr1168313qtb.104.1586247986925; Tue, 07 Apr 2020 01:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586247986; cv=none; d=google.com; s=arc-20160816; b=xUbZbdVPPDPHQFFUcKoqT7YGvtKgOi/GDL1X3AeiNbm+XbDnDvUuaDmjUVUJ5EqO05 5XJfgp2vdCutuIEOlqOeIhhnAz4l8Xoc5nXb6oH//Iu9vAYcOCy7t39/9VWzmf/ATzQc /ORw2SXxaTguPTRENDqrPbL4JLJ4jRjFqKZEWoGocJ0rT3KCI/d53l+OEgQUTAVdSvvp WJ0GYBcQPIJLnk+5gbhDvuZOxXNWOLrsRv+U1sRGR9Nb962+BS6bByaM2jCNJAc0zP2h zov8AWBMe3GHMhGjlfDOguCWl8HgrJdYWfw1x+Y7eW3PHJQLFIKc3q41oeUByoGAwLEV Mg9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject; bh=5aR2oojbUXyitPRtLcqUecRmM4CJk060oTX+JqEm3bM=; b=jcCEuYBXkJy6+C/I+VYQhsa4s2qhLjwyVSwskUkxBq4DXm2MFau17CcvIb1oEQ3BY6 u9en6rkdncw+w1nK9wW4336gQ08qAWd4Za7MERqHrlGU5It0j2xOQMs8PZ2/Wmk1Wtk+ S297b7AT1Ly4M8NS2xQOSDYKxHwhaMcP0m98ckXrWWVpjrAGOI9ukgoE9qptP/PPjGLD vti1bLwGp5uZcgGD+5lBRNKYo68h3CAMdiuPs1F8uUSRvuFBu3vd01M3Bu7h3YYopk8x YpV8FT/ZYsWbVmhvWjgflHkrwXRTXEB5fhGweeVwloEjtYNiIEu/n22Qm7BhsJCJ13NU Nc6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s39si1274908qtj.65.2020.04.07.01.26.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Apr 2020 01:26:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:42990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLjYw-0006jF-AJ for alex.bennee@linaro.org; Tue, 07 Apr 2020 04:26:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49850) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLjYn-0006fZ-OV for qemu-arm@nongnu.org; Tue, 07 Apr 2020 04:26:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLjYm-0007U3-7p for qemu-arm@nongnu.org; Tue, 07 Apr 2020 04:26:17 -0400 Received: from 9.mo1.mail-out.ovh.net ([178.32.108.172]:39370) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLjYm-0007Qc-2b for qemu-arm@nongnu.org; Tue, 07 Apr 2020 04:26:16 -0400 Received: from player159.ha.ovh.net (unknown [10.108.54.38]) by mo1.mail-out.ovh.net (Postfix) with ESMTP id F1DD51B917B for ; Tue, 7 Apr 2020 10:26:06 +0200 (CEST) Received: from kaod.org (82-64-250-170.subs.proxad.net [82.64.250.170]) (Authenticated sender: clg@kaod.org) by player159.ha.ovh.net (Postfix) with ESMTPSA id 4929E112A3FE8; Tue, 7 Apr 2020 08:25:56 +0000 (UTC) Subject: Re: [PATCH] aspeed: Add boot stub for smp booting To: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= , Joel Stanley , Peter Maydell References: <20200407072517.671521-1-joel@jms.id.au> <16f057db-a4d7-889f-344c-930587fc8bf1@redhat.com> From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= Message-ID: <141d2355-5f9d-c8f9-4021-01754f8bc2ae@kaod.org> Date: Tue, 7 Apr 2020 10:25:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <16f057db-a4d7-889f-344c-930587fc8bf1@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US X-Ovh-Tracer-Id: 4115727110219402048 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudehgddtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeevrogurhhitggpnfgvpgfiohgrthgvrhcuoegtlhhgsehkrghougdrohhrgheqnecukfhppedtrddtrddtrddtpdekvddrieegrddvhedtrddujedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepphhlrgihvghrudehledrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdprhgtphhtthhopehqvghmuhdqrghrmhesnhhonhhgnhhurdhorhhg Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 178.32.108.172 X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , qemu-arm , QEMU Developers Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: frWzeI+mekVl On 4/7/20 10:19 AM, Philippe Mathieu-Daud=C3=A9 wrote: >=20 >=20 > On 4/7/20 9:38 AM, Joel Stanley wrote: >> On Tue, 7 Apr 2020 at 07:25, Joel Stanley wrote: >>> >>> This is a boot stub that is similar to the code u-boot runs, allowing >>> the kernel to boot the secondary CPU. >>> >>> u-boot works as follows: >>> >>> =C2=A0 1. Initialises the SMP mailbox area in the SCU at 0x1e6e2180 w= ith default values >>> >>> =C2=A0 2. Copies a stub named 'mailbox_insn' from flash to the SCU, j= ust above the >>> =C2=A0=C2=A0=C2=A0=C2=A0 mailbox area >>> >>> =C2=A0 3. Sets AST_SMP_MBOX_FIELD_READY to a magic value to indicate = the >>> =C2=A0=C2=A0=C2=A0=C2=A0 secondary can begin execution from the stub >>> >>> =C2=A0 4. The stub waits until the AST_SMP_MBOX_FIELD_GOSIGN register= is set to >>> =C2=A0=C2=A0=C2=A0=C2=A0 a magic value >>> >>> =C2=A0 5. Jumps to the address in AST_SMP_MBOX_FIELD_ENTRY, starting = Linux >>> >>> Linux indicates it is ready by writing the address of its entrypoint >>> function to AST_SMP_MBOX_FIELD_ENTRY and the 'go' magic number to >>> AST_SMP_MBOX_FIELD_GOSIGN. The secondary CPU sees this at step 4 and >>> breaks out of it's loop. >>> >>> To be compatible, a fixed qemu stub is loaded into the mailbox area. = As >>> qemu can ensure the stub is loaded before execution starts, we do not >>> need to emulate the AST_SMP_MBOX_FIELD_READY behaviour of u-boot. The >>> secondary CPU's program counter points to the beginning of the stub, >>> allowing qemu to start secondaries at step four. >>> >>> Reboot behaviour is preserved by resetting AST_SMP_MBOX_FIELD_GOSIGN >>> when the secondaries are reset. >>> >>> This is only configured when the system is booted with -kernel and qe= mu >>> does not execute u-boot first. >>> >>> Signed-off-by: Joel Stanley >>> --- >>> =C2=A0 hw/arm/aspeed.c | 65 +++++++++++++++++++++++++++++++++++++++++= ++++++++ >>> =C2=A0 1 file changed, 65 insertions(+) >>> >>> diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c >>> index a6a2102a93cb..bc4386cc6174 100644 >>> --- a/hw/arm/aspeed.c >>> +++ b/hw/arm/aspeed.c >>> @@ -116,6 +116,58 @@ static const MemoryRegionOps max_ram_ops =3D { >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .endianness =3D DEVICE_NATIVE_ENDIAN, >>> =C2=A0 }; >>> >>> +#define AST_SMP_MAILBOX_BASE=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 0x1e6e2180 >>> +#define AST_SMP_MBOX_FIELD_ENTRY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (AST_SMP_MAILBOX_BASE + 0x0) >>> +#define AST_SMP_MBOX_FIELD_GOSIGN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= (AST_SMP_MAILBOX_BASE + 0x4) >>> +#define AST_SMP_MBOX_FIELD_READY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (AST_SMP_MAILBOX_BASE + 0x8) >>> +#define AST_SMP_MBOX_FIELD_POLLINSN=C2=A0=C2=A0=C2=A0=C2=A0 (AST_SMP= _MAILBOX_BASE + 0xc) >>> +#define AST_SMP_MBOX_CODE=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (AST_SMP_MAILBOX_BASE + 0x10) >>> +#define AST_SMP_MBOX_GOSIGN=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0xabbaab00 >>> + >>> +static void aspeed_write_smpboot(ARMCPU *cpu, >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 const struct arm_boot_in= fo *info) >>> +{ >>> +=C2=A0=C2=A0=C2=A0 static const uint32_t poll_mailbox_ready[] =3D { >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /* >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * r2 =3D per-cpu go= sign value >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * r1 =3D AST_SMP_MB= OX_FIELD_ENTRY >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 * r0 =3D AST_SMP_MB= OX_FIELD_GOSIGN >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 */ >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0xee100fb0,=C2=A0 /* mrc=C2= =A0=C2=A0=C2=A0=C2=A0 p15, 0, r0, c0, c0, 5 */ >>> +=C2=A0=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ready, >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sizeof(po= ll_mailbox_ready), >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 info->smp= _loader_start); >>> +} >>> + >>> +static void aspeed_reset_secondary(ARMCPU *cpu, >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 const struct= arm_boot_info *info) >>> +{ >>> +=C2=A0=C2=A0=C2=A0 AddressSpace *as =3D arm_boot_address_space(cpu, = info); >>> +=C2=A0=C2=A0=C2=A0 CPUState *cs =3D CPU(cpu); >>> + >>> +=C2=A0=C2=A0=C2=A0 /* info->smp_bootreg_addr */ >>> +=C2=A0=C2=A0=C2=A0 address_space_stl_notdirty(as, AST_SMP_MBOX_FIELD= _GOSIGN, 0, >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MEMTXATTRS_UNSPECIFIED, NULL); >>> +=C2=A0=C2=A0=C2=A0 cpu_set_pc(cs, info->smp_loader_start); >>> +} >>> + >>> =C2=A0 #define FIRMWARE_ADDR 0x0 >>> >>> =C2=A0 static void write_boot_rom(DriveInfo *dinfo, hwaddr addr, size= _t rom_size, >>> @@ -270,6 +322,19 @@ static void aspeed_machine_init(MachineState *ma= chine) >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 } >>> >>> +=C2=A0=C2=A0=C2=A0 if (machine->kernel_filename) { >> >> I just realised this shouldn't be executed on non-ast2600 platforms. >> We could test for the number of CPUs like this: >> >> if (machine->kernel_filename && aspeed_board_binfo.nb_cpus > 1) { >=20 > =C2=A0 if (!strcmp(amc->soc_name, "ast2600")) { ? or a 'bool' under AspeedMachineClass ?=20 A part from that,=20 Reviewed-by: C=C3=A9dric Le Goater Tested-by: C=C3=A9dric Le Goater C.=20 >=20 >> >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 /* With no u-boot we must= set up a boot stub for the secondary CPU */ >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 MemoryRegion *smpboot =3D= g_new(MemoryRegion, 1); >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 memory_region_init_ram(sm= pboot, OBJECT(bmc), "aspeed.smpboot", >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0x80, &error_abort); >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 memory_region_add_subregi= on(get_system_memory(), >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 AST_SM= P_MAILBOX_BASE, smpboot); >>> + >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aspeed_board_binfo.write_= secondary_boot =3D aspeed_write_smpboot; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aspeed_board_binfo.second= ary_cpu_reset_hook =3D aspeed_reset_secondary; >>> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aspeed_board_binfo.smp_lo= ader_start =3D AST_SMP_MBOX_CODE; >>> +=C2=A0=C2=A0=C2=A0 } >>> + >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aspeed_board_binfo.ram_size =3D ram_si= ze; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aspeed_board_binfo.loader_start =3D sc= ->memmap[ASPEED_SDRAM]; >>> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 aspeed_board_binfo.nb_cpus =3D bmc->so= c.num_cpus; >>> --=20 >>> 2.25.1 >>> >> >=20