From patchwork Wed Mar 26 11:55:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 27113 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f198.google.com (mail-ie0-f198.google.com [209.85.223.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E3C5C20369 for ; Wed, 26 Mar 2014 11:57:42 +0000 (UTC) Received: by mail-ie0-f198.google.com with SMTP id to1sf6724705ieb.5 for ; Wed, 26 Mar 2014 04:57:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=uAKIu0+6ZRgLU7CAS6pAkak4+jytRJRNo+oFuWtjVb4=; b=C5VSGS3aJxd5r6Fb8Ps00ckDz2jYyUMV9Viiza9nVypkSirbS6VzWaWMBgmBOQxE4j U0AG0wjeQuGiMbWKOMCyGTFpBhjexo+bu+P/nOgMw1A05hsGV92yiG7FmRG4Yd8zPDdq pc2Hz2RDB+vkabzjJ6PPZzXvj/B+yrfANfY+rFkfwkEXJkQKbd44brF/Z2sQxCGRMsDf jw0AVO3PiDreqsqOjG7E9LRcnVj3El4ZZnQnwo9rydGdIXow+Pra5oKMzoYzxxxIxzZP YIoLzISfOJj3AZ+aQPX9X0t6ks8ZuTdL4nMCBnDhUDQjnoIJW0MEpE8Qdgq4/VAcXGtF OD5g== X-Gm-Message-State: ALoCoQlv/GvE4m7ST0JM2ZI6fPscSRrJAKpDGxnF7+HRqlbLl3cSzVOFXYAXYpxt0N8eH8IID+Lw X-Received: by 10.182.29.196 with SMTP id m4mr16946018obh.26.1395835062344; Wed, 26 Mar 2014 04:57:42 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.48.39 with SMTP id n36ls643923qga.19.gmail; Wed, 26 Mar 2014 04:57:42 -0700 (PDT) X-Received: by 10.220.103.141 with SMTP id k13mr1320160vco.25.1395835062248; Wed, 26 Mar 2014 04:57:42 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id x7si4461980vel.108.2014.03.26.04.57.42 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Mar 2014 04:57:42 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so2135356veb.34 for ; Wed, 26 Mar 2014 04:57:42 -0700 (PDT) X-Received: by 10.52.72.48 with SMTP id a16mr9853900vdv.19.1395835062134; Wed, 26 Mar 2014 04:57:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp40122vck; Wed, 26 Mar 2014 04:57:41 -0700 (PDT) X-Received: by 10.140.87.151 with SMTP id r23mr79196624qgd.23.1395835061784; Wed, 26 Mar 2014 04:57:41 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id u89si10396932qga.83.2014.03.26.04.57.41 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 26 Mar 2014 04:57:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSmR7-0004kj-Ix; Wed, 26 Mar 2014 11:56:01 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSmR6-0004kT-CG for xen-devel@lists.xen.org; Wed, 26 Mar 2014 11:56:00 +0000 Received: from [85.158.139.211:53842] by server-9.bemta-5.messagelabs.com id FA/B8-04350-F40C2335; Wed, 26 Mar 2014 11:55:59 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-14.tower-206.messagelabs.com!1395834956!3440734!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 1383 invoked from network); 26 Mar 2014 11:55:57 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-14.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 26 Mar 2014 11:55:57 -0000 X-IronPort-AV: E=Sophos;i="4.97,735,1389744000"; d="scan'208";a="115009576" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 26 Mar 2014 11:55:56 +0000 Received: from norwich.cam.xci-test.com (10.80.248.129) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.2.342.4; Wed, 26 Mar 2014 07:55:55 -0400 Received: from drall.uk.xensource.com ([10.80.16.71] helo=drall.uk.xensource.com.) by norwich.cam.xci-test.com with esmtp (Exim 4.72) (envelope-from ) id 1WSmR1-0006Z9-Ch; Wed, 26 Mar 2014 11:55:55 +0000 From: Ian Campbell To: Date: Wed, 26 Mar 2014 11:55:54 +0000 Message-ID: <1395834955-9289-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1395834922.4928.0.camel@kazak.uk.xensource.com> References: <1395834922.4928.0.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH 1/2] ns16550: setup default lsr_mask for DT systems too X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.175 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: Signed-off-by: Ian Campbell Acked-by: Julien Grall Reviewed-by: Konrad Rzeszutek Wilk Tested-By: Pranavkumar Sawargaonkar Tested-By: Chen Baozi Cc: keir@xen.org --- xen/drivers/char/ns16550.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index 429d786..2dd32b2 100644 --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -1129,6 +1129,8 @@ static int __init ns16550_uart_dt_init(struct dt_device_node *dev, uart->stop_bits = 1; /* Default is no transmit FIFO. */ uart->fifo_size = 1; + /* Default lsr_mask = UART_LSR_THRE */ + uart->lsr_mask = UART_LSR_THRE; res = dt_device_get_address(dev, 0, &uart->io_base, &io_size); if ( res )