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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 A600DC433E0 for ; Sun, 7 Mar 2021 11:36:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 799E664FF2 for ; Sun, 7 Mar 2021 11:36:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230143AbhCGLf3 (ORCPT ); Sun, 7 Mar 2021 06:35:29 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:49497 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230112AbhCGLe7 (ORCPT ); Sun, 7 Mar 2021 06:34:59 -0500 Received: from mail-ed1-f70.google.com ([209.85.208.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lIrgX-0001pW-GS for linux-doc@vger.kernel.org; Sun, 07 Mar 2021 11:34:57 +0000 Received: by mail-ed1-f70.google.com with SMTP id cq11so3568448edb.14 for ; Sun, 07 Mar 2021 03:34:57 -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=Op5mu56rLKVeXZ5BYHLLFs3XBf2gdeKehd8++u/6LDA=; b=t12IVJGt3K91uw6UB2NUKF5OjIT5JOynL+9eRHXsyazuG48P5rY2J06eRqB4wDcFJv Yv6nCUCJxUV0NmV0Gfbme32UwfBRkQ3hY54Vgibydzygk3hTRkyVYPLIEnwso41yxWNV LKLpfJZeU4yuu6IkHDQeKoZFkjjW/iUL2VaFZ7pKTy9dzBGFYLUbToEQIezv5NgN/c+/ lp+PcrqLxGh5O1JZFli1O6rcP9eVzCSIRfecXF1uITTiWicfFCrTq37VfEWv5DTlPsCa Pzaqxbli+HGBtC/jxDMUUTTyR7blYURqn0fza4rJ5eOx8H94hHCj1KjyW8N58zZwrvmv e5HA== X-Gm-Message-State: AOAM531QCBQE58Ez82con1GA82Sdk5Yw16VIm2qJvG6ifMcwN3bD9IIT a3DNWTo7bfPM0peFvObVrXf7DXQtCx6YuaHKFiAelTcwZBNOfgxyMaWJfuxGAPtEb8rknS3UHVw EyvgsqWcKWMg/DAes/+bJW+ZG1fY9YThmITm2jg== X-Received: by 2002:a50:fa04:: with SMTP id b4mr17812457edq.293.1615116896809; Sun, 07 Mar 2021 03:34:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwN50SNAvRJvyv1TTGSoHps9ZM3d2RwZosjPBjKJrezHq2PpQu4f0MDG5tTUROmsW8Jne4o4A== X-Received: by 2002:a50:fa04:: with SMTP id b4mr17812435edq.293.1615116896694; Sun, 07 Mar 2021 03:34:56 -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 g25sm5016167edp.95.2021.03.07.03.34.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Mar 2021 03:34:56 -0800 (PST) Subject: Re: [RFT PATCH v3 21/27] tty: serial: samsung_tty: IRQ rework To: Hector Martin , Andy Shevchenko Cc: linux-arm Mailing List , Marc Zyngier , Rob Herring , Arnd Bergmann , Olof Johansson , Mark Kettenis , Tony Lindgren , Mohamed Mediouni , Stan Skowronek , Alexander Graf , Will Deacon , Linus Walleij , Mark Rutland , Greg Kroah-Hartman , Jonathan Corbet , Catalin Marinas , Christoph Hellwig , "David S. Miller" , devicetree , "open list:SERIAL DRIVERS" , Linux Documentation List , Linux Samsung SOC , Linux-Arch , Linux Kernel Mailing List References: <20210304213902.83903-1-marcan@marcan.st> <20210304213902.83903-22-marcan@marcan.st> <535ff48e-160e-4ba4-23ac-54e478a2f3ee@marcan.st> <05ccc09f-ffea-71cd-4288-beed3020bd45@marcan.st> From: Krzysztof Kozlowski Message-ID: Date: Sun, 7 Mar 2021 12:34:55 +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: <05ccc09f-ffea-71cd-4288-beed3020bd45@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-doc@vger.kernel.org On 05/03/2021 17:29, Hector Martin wrote: > On 06/03/2021 01.20, Andy Shevchenko wrote: >>> I am just splitting an >>> existing function into two, where one takes the lock and the other does >>> the work. Do you mean using a different locking function? I'm not >>> entirely sure what you're suggesting. >> >> Yes, as a prerequisite >> >> spin_lock_irqsave -> spin_lock(). > > Krzysztof, is this something you want in this series? I was trying to > avoid logic changes to the non-Apple paths. I don't quite get the need for such change (the code will be still called in interrupt handler, right?), but assuming the "why?" is properly documented, it can be a separate patch here. Best regards, Krzysztof