From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA597606A31A for ; Tue, 1 Dec 2026 18:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=QeTiQ+Vh; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Wew2LERb Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 6E42981E4A; Tue, 1 Dec 2026 18:27:19 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Y1RaT-OQS_ln; Tue, 1 Dec 2026 18:27:19 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org BE8EA81DFB Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796149638; b=C0XHIjJ33pU9wKkIspsOzTKSNsgyLV0umLF2Ka1fnOPuPmEnRb8dqfZkq4NSq1sggN88 u5NmXZnLSOxg8yfgBwSk6lAQfeuH1Lz/C4I/kAcsmtZ63EhfqegOiVdlDAaezXMm20s+C Ov0x1rNpgP7hBbR5B1SPbLWZ5H+6wyU/oqBX/GRxIjcibQN0ZFtxCrPNP7ftTH8j0qXnt h+ZT4KFvFod2OkItmux13wXepthPDbtDX2ZXXT+3otoxaY88soU+Lrl/RyTOeUT5yiEkc RaeXZGYI+SFJdZe6svDXxQFJLpzziRyNOZYgavQV8vyhy9APKZFG9e87sp9/t7sPYlw== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796149638; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-BeenThere:X-Mailman-Version: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Errors-To; bh=7e3suAb7ixrBoSmr9xUlE37r9YDSDrgVtVE21eg12mM=; b=qRURicQuw/lvIb7pMVcvrGo6voLucSg66bo1oI3y2FpS1NVwfEKnGmxCgMPcxH4O3mKh YyrjPAjlNBLcoel7EsaHcWzXE/ufErokVFxoIt75lx9Cd35l6y/O+aoo7VG2aKxKr1iOP XWjuOA9LSLjHG5obknxRjaMtIycpnCjLFlFLdxPfdM+F0ynopsYYZTS8EowWopBNPctyN nA/v0ypxmMWNnVLNPJ/SdHUZPtO/SHABKB88klakA63Ag3jXFOC3ClKRvzxFdDUwdAEWU QzYl6gh0Ij+KTnCz5Tdu6kCDfq2/uvVbz0iT6IwQqXiCRHv7/1qYkSFSPtDCR+NAJ8A== ARC-Authentication-Results: i=1; smtp1.osuosl.org; dmarc=pass header.from=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Wew2LERb; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796149638; bh=7e3suAb7ixrBoSmr9xUlE37r9YDSDrgVtVE21eg12mM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=QeTiQ+Vhcl1oCn2LLm5VVDk2Qfr5XDWxKQ/Gv+q/5T6EulbV26CIkmtPldw95q+Kq DYGaHgFNrE1T6tzdVKpgplft2+VBuwc/cwMUUPp+Np36H97WxmNwR4NKZPFxxsV1Gz NyzJe0FLhDJAT3C2N0tR81kxrQoHWxOD4cHnPdB2Gjk/TCjDAZ9jeOMbwS+NjxuWVH 9PTzQ4aRL4QTm/EibjlY4JXEBBAz2eyDaDxljvPsGkkLov8rKdc7yl/Y2GKx07wrLg sYyLkbijoTiqS5YuxWFdiZPvMyeSEBvqnBKTEEqN41s1VjQqAqvmdc08k4wVbzCvRC tw0Vx6dlx+HTg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id BE8EA81DFB; Tue, 1 Dec 2026 18:27:18 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id 41DF84E0 for ; Tue, 1 Dec 2026 18:27:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3F31681DFB for ; Tue, 1 Dec 2026 18:27:17 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id nFiwX9h3H-qC for ; Tue, 1 Dec 2026 18:27:16 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 051DE81BB4 Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::434" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::434; helo=mail-wr1-x434.google.com; envelope-from=stephan.gerhold@linaro.org; receiver= Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Wew2LERb Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by smtp1.osuosl.org (Postfix) with ESMTPS id 051DE81BB4 for ; Tue, 1 Dec 2026 18:27:15 +0000 (UTC) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-48e47347279so7443150f8f.1 for ; Tue, 01 Dec 2026 10:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796149634; x=1796754434; darn=lists.u-boot-project.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=7e3suAb7ixrBoSmr9xUlE37r9YDSDrgVtVE21eg12mM=; b=Wew2LERb+xN7GS17BDCFthVSPmI0Z9LslbLHN1n7xw6T0acdcgRX9SBq6T6qg74sFv Y7TYerDp06s9wK+K9mn2Wxrf2mX0adStQWu4jWKO7l6HehfTruF9zsl5xaTCRIevztTG qwK39JD4OOaOav6X/EoFJ2A4VgXLpsJHmSQmUcs5OjOg5Vw90jyPZ7cdjBhQD44ojKmF ywqrSG2expYMct9D0qoWZdRIbvBKMib5sEzf7jAXaRCzzlWfuyOqAWjvZUkesbTanBWk clkdRA/VyqXExuh4f/ewBdzJzbVGcGOpFxZ/6I0ZF/pk1g1UB+7vanDrTq+oyfWIpJCC jlqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796149634; x=1796754434; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=7e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dOP6zYPCjYyEQ9P3qf/TiBZFNeG4vAR4G6 xXcG/lWl5HEDmDSXlQzEecWe4IX62KGVgIRfGuVcviNje46bgP1VE0v64E9PMuoY4g5oaK0GL6U EkwJZBSVkcN2pBGJ7JciB0Q19zQVTgMxteaxfOKUQGTLYMpeXnD44zVUdrjzuALw6LFojCYTPdi Si+74JWTnZrFqrEWY2yhnwANq/Y60XhcyIMqR+Q= X-Received: by 2002:a05:6000:4b1e:b0:493:2eb8:e7fb with SMTP id ffacd0b85a97d-4abb6930039mr67005327f8f.41.1796149633124; Tue, 01 Dec 2026 10:27:13 -0800 (PST) Received: from linaro.org ([2a02:2454:ff25:4f10:dbbb:7544:9b05:5bdd]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a68048esm76120404f8f.29.2026.12.01.10.27.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 10:27:12 -0800 (PST) Date: Tue, 1 Dec 2026 19:26:58 +0100 From: Stephan Gerhold To: Balaji Selvanathan Cc: Sumit Garg , u-boot-qcom@groups.io, u-boot@lists.u-boot-project.org, Tom Rini , Ilias Apalodimas , Casey Connolly , Neil Armstrong , Michael Srba Subject: Re: [PATCH] mach-snapdragon: of_fixup: enable APSS watchdog at EL2 Message-ID: References: <20261130-qcom-enable-apss-wdt-el2-v1-1-1f9a94ae321e@oss.qualcomm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261130-qcom-enable-apss-wdt-el2-v1-1-1f9a94ae321e@oss.qualcomm.com> X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-15.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Mon, Nov 30, 2026 at 04:26:13PM +0530, Balaji Selvanathan wrote: > On Qualcomm SoCs where Gunyah Hypervisor owns the APSS watchdog, such as > SC7280/QCM6490, the node is marked status = "reserved", so U-Boot > never binds qcom_wdt and "wdt list" is empty. > > With QCOM_EL2_GUNYAH_EXIT_SUPPORT, U-Boot exits Gunyah early and runs > at EL2 (from EL1), and the watchdog is free to use. In that case set > any reserved "qcom,kpss-wdt" node to "okay" in the live tree. SoCs > whose watchdog is not reserved are left untouched. > > Signed-off-by: Balaji Selvanathan > --- > arch/arm/mach-snapdragon/of_fixup.c | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) The code in of_fixup.c is for DT changes only U-Boot needs, but which shouldn't be passed on to Linux later. This does not apply to your watchdog example. I assume you want Linux to control the watchdog as well, so it needs the same fixups. To be more precise, Linux also needs extra IOMMUs, the GPU zap shader disabled and other fixups that are typically described in the -el2.dtbo. Booting should work also if Linux doesn't provide any DTBs itself (e.g. booting a generic distro image), in that case Linux uses the U-Boot DTB. I think the real fix would be to apply the existing -el2.dtbo to the U-Boot DTB at build time if QCOM_EL2_GUNYAH_EXIT_SUPPORT is selected. Thanks, Stephan