From patchwork Thu Oct 15 04:25:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 317752 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp122660ilm; Wed, 14 Oct 2020 21:25:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqu3gucD1tvnefe5Jc1GzotKRvpRLOopCc2jtla0gwi4G/lnDQNIayU6ohW96Vp/TtyKC7 X-Received: by 2002:a17:906:68c4:: with SMTP id y4mr2466905ejr.197.1602735956002; Wed, 14 Oct 2020 21:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602735955; cv=none; d=google.com; s=arc-20160816; b=gqZDpBVLTgOSdHyqhvLOGdQxp5NhUjn3AEvZbFJeiKaWAdELmgCBlm4221Hdf9A7i6 SwSdb80WLYff++Fh6Jxtrzb2cjUuJR17BulMlFL5RFERCvEQcr0xj1Pj/E1qsJ/qtWzA OzWZLHhGc2NCsHEkG1I/BBaiJ5jgiPWPB5OIQQs+aXWQHKgKcd8ZNQdq2JPyn4obCQf1 5+yjGJ/I7m+jDJWbBaiUclhiTtwNIQC1JaMWOMmQNJzyl1KzrOq1fveSf7/xJQxaDL4N +VaenzHhNdQ4o6QZPcJDbfY4SyuAs2fogQXAoeqyr6mjOYE3x3/IQh3VjNxVP0761+xU 9PkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ecBusdBaYYW6Frq2q85LNTsgVhaiv3d4zBC4018Qxmc=; b=Y3LzXsXDBZNeINDLaGy2DycPUdGyuuZoEYRvP9FGai3OqD08PjuArEEXQSDwaaiet0 4FpOUWzxOWupJr9iLv72ZGSQuUh519pNhayMuislNaQmTiDxoMV6ABaShgDMt+uiPq13 ANZSWgAIAYGSDUWRq8zNErrUf+lJBbsgV4X6LF5uFWOMCg9K+IbdrgvP80outTV52bt3 dahfzPAVj8/idKfrKMD9nnV5sgKlWMhCMQNsFOQAY4hgqRr/ficw7zzI010YJxq4f+lb 88LJwqvBGJefLtpAPgFUdrpj9u3fOMcjjDecIk3x8fSFK+jtT8N8M71u2T66gAoBC01G 7ZaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cSoMT+/h"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id y16si1227086edm.444.2020.10.14.21.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 21:25:55 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cSoMT+/h"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C8FB982369; Thu, 15 Oct 2020 06:25:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="cSoMT+/h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 50D2282279; Thu, 15 Oct 2020 06:25:48 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1042.google.com (mail-pj1-x1042.google.com [IPv6:2607:f8b0:4864:20::1042]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B243382279 for ; Thu, 15 Oct 2020 06:25:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1042.google.com with SMTP id j8so1129741pjy.5 for ; Wed, 14 Oct 2020 21:25:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ecBusdBaYYW6Frq2q85LNTsgVhaiv3d4zBC4018Qxmc=; b=cSoMT+/hgxxOeUENt+6dOnBM180dAJJ3Boyw+mkFlchfOZeYWFWNipxLK4cv+UBca1 TBIHpSSraDtITkgfKpTOY4h5Rg38tAfDVxeC68f+djYp1avJvxkHNGUKK7XHvKdmY6mI b8GByJDckp50dMs19/OSx1qiiTzuacL609ujrP41qUi2fWUqioPw3N+RItmf8DBoh1mX eKBC3iBOiqsvJeHyMRgGA3rC1bjFenL7Ej9GRY7AuUF9E0LcWwdR4nYZxSqxK55NfPMD ajMNNPqntCv/ANiVT5Q5b8JkSBwTfMna3Vlh1HUJ25BqHiJVwOu/PZqzwaTvakjHbQve 4Z6w== 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:mime-version:content-transfer-encoding; bh=ecBusdBaYYW6Frq2q85LNTsgVhaiv3d4zBC4018Qxmc=; b=Dj+tf0MoFqPvhUZnpC2j410mUrrJKomSMj07NmtsKpn+8jJeIBXWZXjskFNlVyAMET 6uVcPMQEWfhhTkF1REd0dzlzfJ699+MUWqEFwS9sWNoAZIZFrgbGJBIh4IhIsDEiNoZF uw0L3O8i/Orf1RjOebpsfu4Xw1UoOV3GyeL2KpN5BFIEHeo7uqVrQCgFHM+psd7Ak7eh BGRyEde+JkmK4GLVThZxr6M3gC85vMjf2R71j1ymhk73fM8vEQObuQOcfkjHT/D2dpV7 gYT9BRXjxT19eLlbVw8DG66MGB4cnNRGvoykFtm9WpzW0drGi/5Ix/ue3qmqMP5FvIDB UJNg== X-Gm-Message-State: AOAM531gbCBc7Fk4/9qAvCqjKNr2dukgkcCmd4yNwyIwF9mTQz/zszGn 2nxjtAKKadVyK/Gc6OcJ9J5ydw== X-Received: by 2002:a17:90a:d146:: with SMTP id t6mr2520122pjw.76.1602735944081; Wed, 14 Oct 2020 21:25:44 -0700 (PDT) Received: from localhost.localdomain (p784a66b9.tkyea130.ap.so-net.ne.jp. [120.74.102.185]) by smtp.gmail.com with ESMTPSA id w17sm1306489pga.16.2020.10.14.21.25.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 21:25:43 -0700 (PDT) From: AKASHI Takahiro To: anastasiia_lukianenko@epam.com, oleksandr_andrushchenko@epam.com Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH 1/4] serial: serial_xen: print U-Boot banner and others Date: Thu, 15 Oct 2020 13:25:13 +0900 Message-Id: <20201015042516.41197-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201015042516.41197-1-takahiro.akashi@linaro.org> References: <20201015042516.41197-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean At present, DM_FLAG_PRE_RELOC is set only if !OF_CONTROL. It doesn't make sense for this para-virtualized driver. With this patch applied, you will be able to see early boot messages: U-Boot 2020.10-00001-ge442e71a6c52-dirty (Oct 15 2020 - 11:02:25 +0900) xenguest Xen virtual CPU Model: XENVM-4.15 DRAM: 128 MiB PVBLOCK: (XEN) gnttab_mark_dirty not implemented yet pvblock: 0 In: hypervisor Out: hypervisor Err: hypervisor xenguest# Signed-off-by: AKASHI Takahiro --- drivers/serial/serial_xen.c | 2 -- 1 file changed, 2 deletions(-) -- 2.28.0 Reviewed-by: Peng Fan diff --git a/drivers/serial/serial_xen.c b/drivers/serial/serial_xen.c index ba6504b94796..ed191829f059 100644 --- a/drivers/serial/serial_xen.c +++ b/drivers/serial/serial_xen.c @@ -175,8 +175,6 @@ U_BOOT_DRIVER(serial_xen) = { .priv_auto_alloc_size = sizeof(struct xen_uart_priv), .probe = xen_serial_probe, .ops = &xen_serial_ops, -#if !CONFIG_IS_ENABLED(OF_CONTROL) .flags = DM_FLAG_PRE_RELOC, -#endif };