From patchwork Fri Nov 24 11:39:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupinder Thakur X-Patchwork-Id: 119574 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp2091712qgn; Fri, 24 Nov 2017 03:42:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMbuVqNbd6OJefFCyqd1VxduyP5bZUgYuAe+vtT9johKz53mfR7+eTwMNB1+PnhDn5EpG8Dl X-Received: by 10.107.38.2 with SMTP id m2mr31412660iom.272.1511523722032; Fri, 24 Nov 2017 03:42:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511523722; cv=none; d=google.com; s=arc-20160816; b=xZ/krl0Q2S9IXqWSo1N3HxFTCSquEbAThvl/BW2HE5zGJGGONOjsrvKFYbjlgS6a/X swgZ9sINDi4zEKle2zW2G7FVa5qXuwYv/1PQt25k8L57ghbkdjRG4RJjveSo5GhW0XCZ GQMzt2/FgfIwvrFsIAfcgX4epObLufhUPy5inlfcAfoEK2CV0cMhbL0J0UF4SwFVHrlk MqTrAkvEsPmYMGNAgjx52fn1TH2UrvYNjByF0yFW5jt90VOAOJvwFsIdbaI6SDtBDWdT jYa+q6ZXheqf+RUwwt+BmTnUdIOn1t2EefEYPGASIm9o7hOBUY+oZsG3RQsnwPEwIZa7 ykhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:message-id:date:to:from:dkim-signature :arc-authentication-results; bh=fz+doI/IFL6fPhg6SftuPtvpZ4Z5k32zpcUsIwM1U7o=; b=ZbmZCwXFjV9J6smmol1VggJ0fn0i0zg/SfcBarS+L3D65KI1IEVk+Y/tCD1nFZ9oGM ZcRowZtX30tuSn+oKajF9zcoLAIo5MpGu267RkqeMfgG7kGCHAmYa5gdXICH8h6v0PGG MenEUr5m2dNoMZ3Vb6iuEFpaPKJhU11M8OwU3NfjnhEPk5IgI/gj/XfuXi+sWn3jdgd6 YuTYLmTXa5bRAv+TFlEl4pAlHWk0aD2uXqyILt0ARthY6SZYUvb5i9jDKvDsTBTHOJif 8USt2xSGArKcDa+/z7WcSQqTUM6azVVduGO2IDDWuZ7qAfx5YQrPpQk4jqgkYaZcEJqt pbNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J/G2Bv9V; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id z83si8646936itc.90.2017.11.24.03.42.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Nov 2017 03:42:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J/G2Bv9V; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eICKJ-000126-Ha; Fri, 24 Nov 2017 11:39:23 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eICKJ-000120-58 for xen-devel@lists.xenproject.org; Fri, 24 Nov 2017 11:39:23 +0000 Received: from [193.109.254.147] by server-8.bemta-6.messagelabs.com id 80/6A-27709-AE4081A5; Fri, 24 Nov 2017 11:39:22 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRWlGSWpSXmKPExsVyMXSBs+5LFok ogzUPzCy+b5nM5MDocfjDFZYAxijWzLyk/IoE1oyL8/+wF2zgqJjQN4utgXEKexcjF4eQwDRG ib6tl1lBHBaBdmaJLWevs4A4EgLvWCRW9W9g62LkBHLyJNbdfghlp0nMXzIVyq6UWL50IwuIL SSgJXH01GxWiLEtTBJrNh8F2sHBwSZgIjGrQwKkRkRASeLeqslMIDXMAs+ZJA5N+MoMkhAW8J D4NWsvO4jNIqAqMW3FdFaQXl4Bb4kDNzghdslJ3DzXyTyBkX8BI8MqRo3i1KKy1CJdIxO9pKL M9IyS3MTMHF1DAzO93NTi4sT01JzEpGK95PzcTYzAEGIAgh2M+z5GHmKU5GBSEuXt6BePEuJL yk+pzEgszogvKs1JLT7EKMPBoSTB28csESUkWJSanlqRlpkDDGaYtAQHj5II72yQNG9xQWJuc WY6ROoUoz3HhTuX/jBxHNhzC0g+m/m6gZlj2tXWJmYhlrz8vFQpcd4lIG0CIG0ZpXlwQ2HRd4 lRVkqYlxHoTCGegtSi3MwSVPlXjOIcjErCvI9ApvBk5pXA7X4FdBYT0FlPT4qDnFWSiJCSamA sM1sq9O89z3b9O5PvpInY+DTfPf2rQP3+xK4qtXmGtvXfrC1dfrQE/47LU11wp3ur3PayqO/K pp9df8vOXyX0trYs73wb24ZbTvyH8zeouqTGZOySX35FT3J72neuL9Kbws2iPrH+XeFk4WBgN cvwitrZzaxFP6aeFp/pfP+qnkvPf7vTipZKLMUZiYZazEXFiQDFaGmuuQIAAA== X-Env-Sender: bhupinder.thakur@linaro.org X-Msg-Ref: server-13.tower-27.messagelabs.com!1511523560!108476595!1 X-Originating-IP: [209.85.160.67] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 9290 invoked from network); 24 Nov 2017 11:39:21 -0000 Received: from mail-pl0-f67.google.com (HELO mail-pl0-f67.google.com) (209.85.160.67) by server-13.tower-27.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 24 Nov 2017 11:39:21 -0000 Received: by mail-pl0-f67.google.com with SMTP id 62so4332820plc.7 for ; Fri, 24 Nov 2017 03:39:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=SuVKRQLrwbDR6gGXDPT4DMMvofHWqYp62Uz3QIxr0WY=; b=J/G2Bv9VvJoolXj/fWKLR0DCVswuMOowNCCNWtb6exqKkZ3Dgzap6p/OQi4UAGoD/F NM1uywDpAXTx6rEkLqNAE7Mv8RT7eP/gRdOrvWAAG834tDpDnHEx6+5faPYYfdS9KiXK 1WkfE9sU6I892E26lIhL9Q11RoLLrEysZKJi0= 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; bh=SuVKRQLrwbDR6gGXDPT4DMMvofHWqYp62Uz3QIxr0WY=; b=pVjHGL2LUZ8VNTFI59Zps/aeV/cc0EJ6CTsWDTFvNwHdmaQK1CCY0SWF1X57cq+IoB EsUPA76kceKlmz/ESIBfX8YdaQyCcwEItD3NPBvl2fAPthTm2bJS4FBTUJSDIkMqhJlu tE9iX+V1wnNg8EPRwsO6Nyi1Hz7bBfu0Y5J3gDkvB90XaHlZyFmIkduXgasO9NTxASh3 ShAIxFHfS3ASg6WNnouBc2/aezKtVFp1xO45wPKY1YF9prdBXrlvXYXW6ECihp108l3C I9pUQCP87NkZOFUH99jNML8GFedRfYBl2BHIK8qJSDFfm+ATzK/Dm9bqxkfdo6D2SZ6t p/Ig== X-Gm-Message-State: AJaThX60rVXjBHdUGh2VEPF/xFnMgG0sF3iBL7qf590mKlGTQm59novn EYFadvBNiWszwPSYhTUA+WLV1PcKQqY= X-Received: by 10.84.253.136 with SMTP id a8mr9447595plm.363.1511523560146; Fri, 24 Nov 2017 03:39:20 -0800 (PST) Received: from blr-ubuntu-linaro.wlan.qualcomm.com ([103.5.19.18]) by smtp.gmail.com with ESMTPSA id x6sm33141985pfx.15.2017.11.24.03.39.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Nov 2017 03:39:19 -0800 (PST) From: Bhupinder Thakur To: xen-devel@lists.xenproject.org Date: Fri, 24 Nov 2017 17:09:09 +0530 Message-Id: <1511523552-23628-1-git-send-email-bhupinder.thakur@linaro.org> X-Mailer: git-send-email 2.7.4 Cc: Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , Jan Beulich Subject: [Xen-devel] [PATCH 0/3 v3] xen: ACPI/SPCR based initialization of 8250 UART X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Currently, Xen supports only DT based initialization of 16550 UART. This patch set adds support for initializing 16550 UART using ACPI SPCR table. It also fixes one issue in HP Moonshot (HPE Proliant Aarch64) platform, which uses 16550 UART as a console. There is an erratum required to be implemented to make the UART console work. CC: Andrew Cooper CC: George Dunlap CC: Ian Jackson CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Tim Deegan CC: Wei Liu CC: Julien Grall Bhupinder Thakur (3): xen: Refactor 16550 UART code xen: Add support for initializing 16550 UART using ACPI xen: Fix 16550 UART console for HP Moonshot (Aarch64) platform xen/drivers/char/ns16550.c | 156 ++++++++++++++++++++++++++++++++++++++++---- xen/include/xen/8250-uart.h | 1 + 2 files changed, 144 insertions(+), 13 deletions(-)