From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21FC6C433DB for ; Fri, 5 Mar 2021 10:56:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CA81965018 for ; Fri, 5 Mar 2021 10:56:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229520AbhCEK4P (ORCPT ); Fri, 5 Mar 2021 05:56:15 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:50974 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbhCEKz4 (ORCPT ); Fri, 5 Mar 2021 05:55:56 -0500 Received: from mail-wm1-f71.google.com ([209.85.128.71]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lI87e-0000zZ-JA for linux-arch@vger.kernel.org; Fri, 05 Mar 2021 10:55:54 +0000 Received: by mail-wm1-f71.google.com with SMTP id a63so265972wmd.8 for ; Fri, 05 Mar 2021 02:55:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OZMqvPAg3jF+C2BA1ImILhvUZWoYn1pEgrAzLL3Zn+M=; b=oAJHa8ne9S97aRhRnsrdoiFH45xiKs5VNAzrWQ3a6hoaLC2ubx+w8IbEfNyfEnkwnj VJSCIzJ/Ev9dlPdp1xi14j99jKqd5xE2mRespYziDfyVT6E83B1/P7SXLh9Ig6nY3G/G pO8J3IRAb+SM/QGnXw0BNOhGBpveOwIdTTrrZyKLtOoNfLhy3v9Y1ZzGMRbq4TF5LUhx qfK5UEyEG0Wg3Eo02XUyRhBi5cZrv/VxnwUM09YsBq+5JsaHIivEtUyGmMemh3lazZNk MkqBsJQ2iIN+jrrqk+23Bb5aS+9HVBPtUSrc4ez2TVMfM8DzMAfT7j9YLlv4kD1toPQt 4fGA== X-Gm-Message-State: AOAM531PrT7s7BL7v8oeOTUwsL0tT7qgKSzYML0XUP9+wVMBLD/WLGun vViOvV/nOTn/ZAow1BwSfAfH4seVOeJQQgfUv61Nk1qN0iVLfFqbryCMYdKWS1XczPu8YcmwEdc TpWDcD5hpxxZniBnXx4xmcq/avQdiRT8ZL2BJ/qo= X-Received: by 2002:a1c:3b02:: with SMTP id i2mr8277723wma.18.1614941754193; Fri, 05 Mar 2021 02:55:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxB10RjsZA/b+LOBLHOFgBxXrz38OatZE1qDwuc8TyZ6RBnwYZWFn3nzUFRUssHcDn4zFTc0g== X-Received: by 2002:a1c:3b02:: with SMTP id i2mr8277714wma.18.1614941754065; Fri, 05 Mar 2021 02:55:54 -0800 (PST) Received: from [192.168.1.116] (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id y8sm3921881wmi.46.2021.03.05.02.55.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Mar 2021 02:55:53 -0800 (PST) Subject: Re: [RFT PATCH v3 25/27] tty: serial: samsung_tty: Add earlycon support for Apple UARTs To: Hector Martin , linux-arm-kernel@lists.infradead.org Cc: Marc Zyngier , Rob Herring , Arnd Bergmann , Olof Johansson , Mark Kettenis , Tony Lindgren , Mohamed Mediouni , Stan Skowronek , Alexander Graf , Will Deacon , Linus Walleij , Mark Rutland , Andy Shevchenko , Greg Kroah-Hartman , Jonathan Corbet , Catalin Marinas , Christoph Hellwig , "David S. Miller" , devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-doc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann References: <20210304213902.83903-1-marcan@marcan.st> <20210304213902.83903-26-marcan@marcan.st> From: Krzysztof Kozlowski Message-ID: Date: Fri, 5 Mar 2021 11:55:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210304213902.83903-26-marcan@marcan.st> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On 04/03/2021 22:39, Hector Martin wrote: > Earlycon support is identical to S3C2410, but Apple SoCs also need > MMIO mapped as nGnRnE. This is handled generically for normal drivers > including the normal UART path here, but earlycon uses fixmap and > runs before that scaffolding is ready. > > Since this is the only case where we need this fix, it makes more > sense to do it here in the UART driver instead of introducing a > whole fdt nonposted-mmio resolver just for earlycon/fixmap. > > Suggested-by: Arnd Bergmann > Signed-off-by: Hector Martin > --- > drivers/tty/serial/samsung_tty.c | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof