Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2741046pxb; Mon, 31 Jan 2022 03:21:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXDVnvJkzdx4I1viK75/dSD4ObV4xEzO7W6TeHBiDvvGHMYUkvS4GcNleYtwuR3DZGbw8a X-Received: by 2002:a17:907:9482:: with SMTP id dm2mr16547345ejc.39.1643628079646; Mon, 31 Jan 2022 03:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643628079; cv=none; d=google.com; s=arc-20160816; b=fi1n88cvl45Gbb8biqCiSfUEnKRLAKeEJMzTOlsOKQ8Op0IuSJm/GDYU+inMCFaShG fawCBmqEaw8Raz3MepNf9sfg00aXBb4Q/tLW9Fu48fVP/oSsWnVLHp1Ryuy+QIrbtFI3 rsP+EOQ8zWYrMKf2eqgcpXDV9LZirFJjeMcESnWNWadGsJyN5oI5oAU1NLrVf6SLH96p MHcfhlbEeyVvCvA9V896gJTEm5Apvft7emmWTiQK4vtcAyBxhALEtAnB5mo0UNuaDBIW 28yLNQMHLvRPHtw2cQCJVb4mWwa0ZNYMKZtE+gSHi7wP2Es6UxBak/okRB2y4BKfy0Ik aHEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gWV/XN5zRAIOOyre4Hd3/1fPFNZKmFqNYxQX4mefTd8=; b=CbvFWq4fKMWhSTsdKppqc9digp9h3feZhOqCzgZfinrrEmyh7rDfQGyHfZH/WL7ri2 IRb7+sicfSlpEYDzCs6UjeRZ1yvHP7CE82lWYo1uF6UUQmQERZ9AK3NqAS1DMQKbkdU/ YFgDP6yBCRRrnw1skm1XSSo6ngRMEVvYbL45NNQzWLrBntJtur5RhgXqEizVcyPebK4y 15sDLRpV/bjCESEKjAt3YtuPM6rAkt11TqAC+XcivZFwqMoOjW8W3cXXcXeZO/fVTqVB TdF1YmgyEcQhJf3B5BXv5IcOJFMC2meXakhU1zrSeEhSOOI4VetCWwgHheTf5GBsGH7K bEOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iQhCP4QJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si9057057ede.572.2022.01.31.03.20.55; Mon, 31 Jan 2022 03:21:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iQhCP4QJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350264AbiA1QuI (ORCPT + 99 others); Fri, 28 Jan 2022 11:50:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350262AbiA1QuF (ORCPT ); Fri, 28 Jan 2022 11:50:05 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F6E6C06173B for ; Fri, 28 Jan 2022 08:50:05 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id n12-20020a05600c3b8c00b0034eb13edb8eso4988027wms.0 for ; Fri, 28 Jan 2022 08:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=gWV/XN5zRAIOOyre4Hd3/1fPFNZKmFqNYxQX4mefTd8=; b=iQhCP4QJ3ZIaKczGKn75eQyoFch7y+0jad41X5WbyeWpudEj9Y4ji+bpEJSAHZsBVQ lkfzhuiReR3tMm3H/dRE67MlOYNdWanSon6m6voT1a3Hgg/f/hxlTZSovUnOa+iyWQIt QMLn3rz20Y4HcJS8PGzj121W4jc6nYF/t7H4GAb/RiWV+y3h2cufBDhmTfNLDxyyKZFs TyknngVD3tN/8Veb6D86QBy/t8oYJpadm5mFpGO9UH/9MYvD+E0eggjAPfJlL8O2EtWu 8KS38Yl6BaEEFQzj8k5Vzr/e4NvKpG4vPxTUZVaLcfX9JydZ0tqb8xTmzTjfhkXyDDD1 iVew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=gWV/XN5zRAIOOyre4Hd3/1fPFNZKmFqNYxQX4mefTd8=; b=ZSlZcOAba1F/4OdUv3biwqWQarCuJN6vsElyco6o7E6GdHX/Za86UiIGaHXIUkcCmX C5QuADpEe9Bw6cll0OvoWQxyCsNW1uKYe5pLk27YpAX78b4UPeoKVB+sgiF1pQMI48+E LmsFHMKUEWmzP3sibW/S/ORar7xlW9Ykei2MZieoUSaPCXXV8JvEcYJIq/a1nvgh99uU 2YTVxsVtOnWHsgRlKJPTC0ryqJQHc/2m1BkJRiWZ8r5qtjyKz/06D7NbQTWAJVrPri/C cyRb62ZAKAP5C/ZnjvIk5Su7J6B72hwiE0V/UdH/Nj0tt6ZHRIh24a6SuY9QKu8zDJ3k 9tlA== X-Gm-Message-State: AOAM530akA01h6J4sKo+ShpiVdFMCSNhF6tUX7P+xl3UwHIgPBJQpcah s04MdYzvOUWKdYTMjKAn53nWiQ== X-Received: by 2002:a05:600c:1da5:: with SMTP id p37mr8171246wms.93.1643388603717; Fri, 28 Jan 2022 08:50:03 -0800 (PST) Received: from google.com (cpc106310-bagu17-2-0-cust853.1-3.cable.virginm.net. [86.15.223.86]) by smtp.gmail.com with ESMTPSA id a14sm6328156wri.25.2022.01.28.08.50.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 08:50:03 -0800 (PST) Date: Fri, 28 Jan 2022 16:50:01 +0000 From: Lee Jones To: Sergei Shtylyov Cc: Sebastian Andrzej Siewior , greybus-dev@lists.linaro.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Jakub Kicinski , Johan Hovold , Rui Miguel Silva , Thomas Gleixner , UNGLinuxDriver@microchip.com, Wolfram Sang , Woojung Huh Subject: Re: [PATCH 4/7] mfd: hi6421-spmi-pmic: Use generic_handle_irq_safe(). Message-ID: References: <20220127113303.3012207-1-bigeasy@linutronix.de> <20220127113303.3012207-5-bigeasy@linutronix.de> <44b42c37-67a4-1d20-e2ff-563d4f9bfae2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Jan 2022, Sergei Shtylyov wrote: > On 1/28/22 4:33 PM, Lee Jones wrote: > > >>> generic_handle_irq() is invoked from a regular interrupt service > >>> routing. This handler will become a forced-threaded handler on > >> > >> s/routing/routine/? > >> > >>> PREEMPT_RT and will be invoked with enabled interrupts. The > >>> generic_handle_irq() must be invoked with disabled interrupts in order > >>> to avoid deadlocks. > >>> > >>> Instead of manually disabling interrupts before invoking use > >>> generic_handle_irq() which can be invoked with enabled and disabled > >>> interrupts. > >>> > >>> Signed-off-by: Sebastian Andrzej Siewior > >> [...] > >> > >> MBR, Sergey > > > > What does that mean? > > Ah, you were asking about MBR! My best regards then. :-) Yes this. It's okay, Dan was kind enough to enlighten me. Every day is a school day on the list! :) -- Lee Jones [李琼斯] Principal Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog