From nobody Tue Feb 10 05:27:12 2026 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1556816521; cv=none; d=zoho.com; s=zohoarc; b=eR6M3auVY3IadZQV1tdrPgqfJXxS7At0/OeWiIu6SvfwS2t7usbLr697PBQ9AuYSmNn+Sh6WblYXhh9KJSN7INd7yjxMN6q3Dhc5joYKuRn4IO3ZzuX5m2bovazkfo+VXMgGWWuN2kmQvrxlebfplbG+318VET7I0cxCA6RETRw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556816521; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=FtabIqAqO0S1/uFc0ZgYJyDEr5K72cMTOgzENbRe5AM=; b=TJwuJDTRyrTzbTVnHPavHRkcyPOK/is8rSKAi4560P9G7hjNa4hOZ2oenFlu9O1eiH3pI+OWpRDhpoT5ICDJmzGbjr51yv5L6TbQW1NLKuXxV7tK0IwB8qp8yltWLPzJzKK37NieRs6kHQ6/Php3HOQTwoQJkx8fIUlbckWdk/U= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1556816521458197.05964654167803; Thu, 2 May 2019 10:02:01 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hMF4Y-00020J-D3; Thu, 02 May 2019 17:00:38 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hMF4X-0001zp-61 for xen-devel@lists.xenproject.org; Thu, 02 May 2019 17:00:37 +0000 Received: from mail-lf1-x144.google.com (unknown [2a00:1450:4864:20::144]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id cdbdba25-6cfb-11e9-843c-bc764e045a96; Thu, 02 May 2019 17:00:36 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id o16so2416143lfl.7 for ; Thu, 02 May 2019 10:00:36 -0700 (PDT) Received: from otyshchenko.kyiv.epam.com (ll-74.141.223.85.sovam.net.ua. [85.223.141.74]) by smtp.gmail.com with ESMTPSA id k21sm2659652ljb.3.2019.05.02.10.00.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 May 2019 10:00:34 -0700 (PDT) X-Inumbo-ID: cdbdba25-6cfb-11e9-843c-bc764e045a96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=q6GomBEQElMWf1Og+4zLHwzVXgNb3k6k7PmdnX3q3Vs=; b=APJs+rwTRmAy/uShLJ10RqnbiQ8vf/ls9nIf+lO6FgdRa7XdSCusZFiupm00GxzGZ8 YrC0O/8Jfm9FeNCVU/xXre0Ph3dwJaFYuf/Hcd3Qu/ImhMkBQ+I8p2a9uzJ1DobX2Yt1 9gepUuY9Qu3Z1AEwFIlIIfrxOwzYG/ZZMqcpcfLiRlIlDwRsK9qy9cqm4iW8zVZ2vI0e MpVmY+Lf2BsKR35HurR/HW5JIfjY+ozsctg+21022W7ONoG2ZB+hYikYKVteC5Gcm074 DDrDFhTWnxLmp8T+Jiz9GV96n3i/0/gj+w0k6Aq2S4DgzOj2fNAtEcWenWaNXmqnUC3v XC4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=q6GomBEQElMWf1Og+4zLHwzVXgNb3k6k7PmdnX3q3Vs=; b=aZNAix3B8CGva4mF2c1mpWvBD/oid+4mUa1KM9zHPz8I48da8QfnL+tBlnLyY0Sa9W cekz6pBnw3jhlc+SzmG7YG3020brci4Dw6+OwE9y/9bmERvheqUwz/SWKuF0k7a3aTwI IWNWu/w2RNf7zqb7/KGtlX+v1pG89mY4pqfHPYQiZU1yc07QhnZQbE7SJUjivf92MvWP IiRk8p7etI/2CJ9sBRUPZ6ajOreq764reJBWzDYIhmyWWlZiFIBOzTUe8HWbdHe9rzW2 KkcHSSkXJTLEHnTwBNOQRjcHDXfyncMFULJJ12cpVsJlgEgAMS4YKWc2/hoiSGZX6scG lXtA== X-Gm-Message-State: APjAAAV7CWxzhHWzoLotvYv1PP0qLSc666Fb2bUzrUG7iCAru9WdlBfS J7ZRkc6ILm0yla3tkG05/2LrKT3XL+Y= X-Google-Smtp-Source: APXvYqy1WbgcZIzZMT9N9BIuc09OJjwOSVdhD0wjUxqaNcu1RCYbyxB5zQNsI7JNKBprEDuSmjLHQg== X-Received: by 2002:a19:7402:: with SMTP id v2mr2580582lfe.53.1556816434890; Thu, 02 May 2019 10:00:34 -0700 (PDT) From: Oleksandr Tyshchenko To: xen-devel@lists.xenproject.org Date: Thu, 2 May 2019 20:00:22 +0300 Message-Id: <1556816422-25185-5-git-send-email-olekstysh@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556816422-25185-1-git-send-email-olekstysh@gmail.com> References: <1556816422-25185-1-git-send-email-olekstysh@gmail.com> Subject: [Xen-devel] [PATCH V5 4/4] xen/arm: Add early printk support for SCIFA compatible UARTs X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Oleksandr Tyshchenko , julien.grall@arm.com, sstabellini@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Oleksandr Tyshchenko This patch makes possible to use existing early prink code for Renesas "Stout" board based on R-Car H2 SoC (SCIFA). The "EARLY_PRINTK_VERSION" for that board should be 'A': CONFIG_EARLY_PRINTK=3Dscif,0xe6c40000,A Signed-off-by: Oleksandr Tyshchenko CC: Julien Grall Acked-by: Julien Grall --- Changes in v3: - It was decided not to introduce new debug-scifa.inc for handling SCIFA interface, but to extend existing debug-scif.inc for handling both interfaces. This patch is a result of splitting an initial patch "xen/arm: Add SCIFA UART support for early printk" and only adds a support. Changes in v4: - Drop SCIF(A) from comments Changes in v5: - Cosmetic fixes (comments in code) --- xen/arch/arm/arm32/debug-scif.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/arm32/debug-scif.inc b/xen/arch/arm/arm32/debug-s= cif.inc index 6f60e01..3f01c90 100644 --- a/xen/arch/arm/arm32/debug-scif.inc +++ b/xen/arch/arm/arm32/debug-scif.inc @@ -1,7 +1,7 @@ /* * xen/arch/arm/arm32/debug-scif.inc * - * SCIF specific debug code + * SCIF(A) specific debug code * * Oleksandr Tyshchenko * Copyright (C) 2014, Globallogic. @@ -22,6 +22,9 @@ #ifdef EARLY_PRINTK_VERSION_NONE #define STATUS_REG SCIF_SCFSR #define TX_FIFO_REG SCIF_SCFTDR +#elif EARLY_PRINTK_VERSION_A +#define STATUS_REG SCIFA_SCASSR +#define TX_FIFO_REG SCIFA_SCAFTDR #endif =20 /* --=20 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel