Received: by 10.223.164.202 with SMTP id h10csp3966848wrb; Tue, 28 Nov 2017 21:41:52 -0800 (PST) X-Google-Smtp-Source: AGs4zMZHJBxo3pWKZ3VPIgAKJE+Bhs0jNYa8nEL15Q8hgGv/HdstjE+NZ9TIQnrOkkImd8W/8Q1H X-Received: by 10.98.193.1 with SMTP id i1mr1804309pfg.29.1511934112152; Tue, 28 Nov 2017 21:41:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511934112; cv=none; d=google.com; s=arc-20160816; b=zo3DykY/3k7MKOb9DjMje3fN0uIFQr+XCwXwniOY+jY8pfdOimxN5bUXwDeDJ60SC0 jzXy9q7vlwH08ynCZ0lnwACG9s3J7wgmKkP4KMwOBi0A98CMLyT8XLFwN824mJ3PdnGY DL+w8lZ/ol/5mQGfWXu2TOahBZd0yGKp5yVJljAReiSerYFIBBhrMjuAkxh1nZHY4i/D o77EAkakPf5f0sNMOdlkxDRduyPDop1/CGhDKeXFPc8lLD5XCdQYlX1XPUbxPy1Fyq9/ TwSviPSuG8ag+BaNQhr8ANPApVHgqV2tick0+0DKZ5JpMKS/sty1wa/XBWWnWE/quoNq OVPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=H/ZxsZh25PnvnP5CVkilkqJ99vGicVk6r0m4e6xGWYg=; b=unG2m5qGA3dSkUdfzeuQ02cwj6b7umWcANg1olc7sZcnQPluUCLQE4Z9jnDddskPAT b4bS5pJ8jCJ+TWVYixYbCg5EWeLX5aV8PV4QmpezasC1ZJnroMF8KOyGefoKXjdSaSCl 3B2ftDJR8l7kaOXEKSlJgbMdn9wuDo8ldmebyT8+YEh60fMw6pcxttj4w1Pg90fE4qHW 7SnftnKzON+6spokGwH3ch917SaZoMVw/aZuE78c9F3knPEyoVsJ5B/Ea2haGnnlbehj 31Lbh/HgpeVDWaxRj2NVlbABXuM+jGnMxageJD1R+kWIMIrf0VbwBmnELJx6392awgHa eI3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fSyyk5rL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8si717215plr.145.2017.11.28.21.41.40; Tue, 28 Nov 2017 21:41:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fSyyk5rL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751491AbdK2FlA (ORCPT + 71 others); Wed, 29 Nov 2017 00:41:00 -0500 Received: from mail-vk0-f67.google.com ([209.85.213.67]:36856 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbdK2Fk5 (ORCPT ); Wed, 29 Nov 2017 00:40:57 -0500 Received: by mail-vk0-f67.google.com with SMTP id f73so509420vki.3; Tue, 28 Nov 2017 21:40:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=H/ZxsZh25PnvnP5CVkilkqJ99vGicVk6r0m4e6xGWYg=; b=fSyyk5rLkYtVGF8v0aG668XmcoQyb+Uyz9hY2O1Wdoy6waU4L+U2jsErq/ErM1L+u0 fG2F6iKknFf9sABMeMhznvYk/BKxDkj9aIIKNSSvshA+kK+DFSSnLOoPOa7n5XYhsSmN Lu3KM6Rx5kFseXFqiHY6gpAjSoemT1NreE66DWSIZxyKpX3oLLRYqO+LG6Hb3R0Ocvnl YCYTT/BHy/UyKouGTKCsi/Q+CxRWhwWhxs5565/ohutlj1PC13wimKpApSgtP72DElcW gFSdXzHan63PswglLqWQUI8NAAi1BWYkWZ30fXiR0UmmwybO8Uguq+2MESU5ChJmKYVd 9pIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=H/ZxsZh25PnvnP5CVkilkqJ99vGicVk6r0m4e6xGWYg=; b=ijWz/jC4mPVtP6jY7wppDr0lnQy935yZrOBeJXHZ0irqzYhhv3PbL794+NZVNu4AsJ 9xIK7AnPqgnXoK+LjeMjNp2uJNBvR/3y+57jaZaNTsHkKBZGEAecboCRbP6BbkebFbPy nnmcC+CMeIY4glRQEHwKRHQaAzWtqi4h+7fvkjFbutXY2LVJlfVvzkG76AMzyTHVC+Kw lzzkKSRj+eE2uJ91lR5SgynUFQWm2qYhe1GPb3jkuGfvgfA2nS/LaiHWNiFugBi7ZcBO 4ZvPdkSMOBc5Tro5DvuT/htLY996VBSH2ULNqtCq2AN6rsr/sss5dxFRiQ+NHP046lVK TsTQ== X-Gm-Message-State: AJaThX7vhhAzZaCDGSktxt+tmfne8qXnXyclF0sU//Xv5UkO2SbbOBbW mHuzeF2X0cvV8cF0sQciIpA+zW9j7inxpXAeTz4= X-Received: by 10.31.7.202 with SMTP id 193mr1309064vkh.37.1511934056528; Tue, 28 Nov 2017 21:40:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.27.105 with HTTP; Tue, 28 Nov 2017 21:40:16 -0800 (PST) In-Reply-To: <20171128142507.GA17797@kroah.com> References: <5b5f07ffd75d509a661398d02d6f1336156554ae.1511785528.git.green.hu@gmail.com> <20171128142507.GA17797@kroah.com> From: Greentime Hu Date: Wed, 29 Nov 2017 13:40:16 +0800 Message-ID: Subject: Re: [PATCH v2 31/35] earlycon: add reg-offset to physical address before mapping To: Greg KH Cc: Greentime , Linux Kernel Mailing List , Arnd Bergmann , linux-arch , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , netdev , Vincent Chen , DTML , Al Viro , David Howells , Will Deacon , Daniel Lezcano , linux-serial@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-11-28 22:25 GMT+08:00 Greg KH : > On Mon, Nov 27, 2017 at 08:28:18PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> It will get the wrong virtual address because port->mapbase is not added >> the correct reg-offset yet. We have to update it before earlycon_map() >> is called >> --- >> drivers/tty/serial/earlycon.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) > > No signed-off-by line? Sorry I forget it. Signed-off-by: Greentime Hu I will add it in the next version patch. From 1585320209045421293@xxx Tue Nov 28 14:26:06 +0000 2017 X-GM-THRID: 1585224158905538418 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread