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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2E82C433F5 for ; Fri, 22 Oct 2021 06:13:19 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9F99C610CB for ; Fri, 22 Oct 2021 06:13:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9F99C610CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:49100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdnnq-0003MI-Kf for qemu-devel@archiver.kernel.org; Fri, 22 Oct 2021 02:13:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdnmX-0001jj-Kt; Fri, 22 Oct 2021 02:11:59 -0400 Received: from smtpout4.mo529.mail-out.ovh.net ([217.182.185.173]:47771) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdnmR-0003ss-P8; Fri, 22 Oct 2021 02:11:55 -0400 Received: from mxplan5.mail.ovh.net (unknown [10.109.156.148]) by mo529.mail-out.ovh.net (Postfix) with ESMTPS id 43093C63803B; Fri, 22 Oct 2021 08:11:39 +0200 (CEST) Received: from kaod.org (37.59.142.98) by DAG4EX1.mxp5.local (172.16.2.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Fri, 22 Oct 2021 08:11:38 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-98R002ee799bff-900b-4c40-9879-1a9c17108f09, 972C48F4C85068776659E713CFF049F78FAA73AB) smtp.auth=clg@kaod.org X-OVh-ClientIp: 82.64.250.170 Message-ID: Date: Fri, 22 Oct 2021 08:11:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Subject: Re: [PATCH v2 0/5] aspeed/smc: Improve support for the alternate boot function Content-Language: en-US From: =?UTF-8?Q?C=c3=a9dric_Le_Goater?= To: Peter Delevoryas References: <20211018132609.160008-1-clg@kaod.org> <2c54310f-2800-33ac-7c47-500a24f88b8f@kaod.org> In-Reply-To: <2c54310f-2800-33ac-7c47-500a24f88b8f@kaod.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [37.59.142.98] X-ClientProxiedBy: DAG3EX2.mxp5.local (172.16.2.22) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: 9b8e23c4-81ea-42a7-b41f-8fdbaeb55e8f X-Ovh-Tracer-Id: 6204552912246115177 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvjedguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuhffvfhgjtgfgihesthekredttdefjeenucfhrhhomhepveorughrihgtpgfnvggpifhorghtvghruceotghlgheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpeeihfefffffgedtkeegtdekffevudeggfegffethfffhefhhfevhfdtudejhfdvieenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepmhigphhlrghnhedrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpegtlhhgsehkrghougdrohhrghdprhgtphhtthhopehjohgvlhesjhhmshdrihgurdgruh Received-SPF: pass client-ip=217.182.185.173; envelope-from=clg@kaod.org; helo=smtpout4.mo529.mail-out.ovh.net X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-2.867, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Andrew Jeffery , Cameron Esfahani via , qemu-arm , Joel Stanley , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" >> And the FMC registers are just an alias to write >> to these watchdog 2 registers? > > If this is the same watchdog mapped into the FMC, I would say yes > and the logic generate load/stores transactions on the AHB bus. > Adding an address space for the WDT registers in the model is the > closer we can get without implementing the bus protocol. > >> Just curious, is it >> strictly necessary to use the FMC registers to disable >> the alternate boot watchdog, or could you just use the >> old address, 0x1e78504C? > > Hey, this is something to try on HW and check how both register > sets evolve. Would you have time ? Andrew did some experiments in the past and the two register sets were evolving independently. >> In our OpenBMC initialization >> for Fuji, we’re using the FMC registers, but would >> it still work if we used the old addresses? Just curious, >> the more I think about it, it seems odd to me that these >> FMC watchdog registers exist if they’re just an alias. > > We should ask the HW designers. Aspeed tells me its an independent logic. So, I will drop the model from this patchset. Thanks, C.