From nobody Sun Jun 05 17:31:46 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 247911BE4B33 for ; Sun, 5 Jun 2022 17:31:57 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LGNwC11vFz4tNc for ; Sun, 5 Jun 2022 17:31:54 +0000 (UTC) (envelope-from greg@unrelenting.technology) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1654450306; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LHJjfVkjcFTRJvioQzyvkfOikXbND+BRECEkRpBfnOM=; b=ZjLCtg2cJM0JtWhP6jU5X0lU+Uabzyb2TW5nT2x26SRYK2SJgsjzPqn2/zNN8puomSpzzE ghmz6sAbtTHY2ze0yysBBws1wdcpm5CWjhU+pZvDb+HtFVahOYJ4KItNKKVJFcSHE63AGX pS23izeg+0SFn17jgLKas7OrwIpwgmWKf9EQ8N4EK81jsY+CwZY45rvEmgUZES107/WKbo QVnpyhdehW0rC9IV9kaxOWkjOFyJ//j7HcF2oiyNNM6x/fbetNn/aUA0iSdBGYS2lWy14O w7B9UclQSd3JAQe9a7/4GNwkcajLL79n9b7O3oHqpkGAV6OmsChGIliUKdS3AA== Date: Sun, 05 Jun 2022 17:31:46 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: greg@unrelenting.technology Message-ID: Subject: Re: Wrong number of CPUs detected on RPI3 and FreeBSD 13.1 To: "Otacilio" , "Ronald Klop" Cc: freebsd-arm@freebsd.org In-Reply-To: References: <8fcbebf4-60c3-0ccb-259b-3324b123245c@bsd.com.br> <1047394639.643.1654181685742@localhost> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: unrelenting.technology X-Rspamd-Queue-Id: 4LGNwC11vFz4tNc X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unrelenting.technology header.s=key1 header.b=ZjLCtg2c; dmarc=pass (policy=quarantine) header.from=unrelenting.technology; spf=pass (mx1.freebsd.org: domain of greg@unrelenting.technology designates 91.121.223.63 as permitted sender) smtp.mailfrom=greg@unrelenting.technology X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[unrelenting.technology:s=key1]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,quarantine]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[91.121.223.63:from] X-ThisMailContainsUnwantedMimeParts: N June 5, 2022 2:18 PM, "Otacilio" wrote:=0A=0A>= After some debug I found that this routine is returning -1:=0A> =0A> Som= eone can give-me a hint about the function of psci_callfn ?=0A=0APSCI is = an interface for calling into power management firmware.=0AJust saying th= at *a* PSCI call failed is not informative, we really need the arguments = of the call.=0A=0AI'm not sure what firmware you have on the SD card but = armstub8 from=0Ahttps://github.com/gonzoua/rpi3-psci-monitor should suppo= rt:=0APSCI_VERSION, PSCI_CPU_ON, PSCI_SYSTEM_OFF, and PSCI_SYSTEM_RESET.= =0AWhich should be all the calls that FreeBSD ever does=E2=80=A6