Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp539234ybh; Thu, 12 Mar 2020 06:43:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuq4JIBT39yd8mAgXp+iqkjZqUFbAE9nWe8k9bLOQQGyF4u/CIB3LD/a8+2GwwA4E+2SMuZ X-Received: by 2002:a4a:9d14:: with SMTP id w20mr4024170ooj.99.1584020588312; Thu, 12 Mar 2020 06:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584020588; cv=none; d=google.com; s=arc-20160816; b=hsUNzeo+feMYuDnLVoHC+tyfxNsepc7Lt6ex3Aa7Hq48s0m+oBSnHDj30DM5QfidSV iBnmMm1JN+DFTSVBfyvboiSC6J576MvupGpWA4UI2JlDZb/f8nreDtrjZPFF91cSPpg7 1oh13uPpA6uF2g5/lU+ZP96wZOHzIJOYkHzKbI2U2vhAwwCV7LsK9NQAs8JjMAEtkPky qwAXLuAyGJlTvdOijSsjfZPFRZeoYxoTzk4nMEdhKYNPzZbHkYQTJyeyhOLp/HmDM+u/ wIrD47CwR1eIg/Nzq479xfxSMx18gMRj4Jo5XC31E4qpdsfHL5jMjAl/ed0LcG/Nn3ZM xLJg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=+DOluD+F62+UVUFsNUjLxaC0lyKRRbWzeQTro9ET2IA=; b=SJMyD1Rm018rtjIqwvz/ybDcLlGLpGMtxpbwTqrmMuHKPvTjGWtAwIeyzfmj1OQ/xh IjqMP/um+n3ZeyP0PDK45hCCQUZNQXNtuHaP7LNwKhEbvOoOSN1N9Ubj9GMKLKMw0xdC ynUzIUrjbS9rai9MX6/gA+dOdNc5oSLR1uu/ckGcShZqstE7rfF3Pf1FZeetbRnVoVGh pVFCnFdKxtcQFigZj54woRZToPSjbZLVxfeXfMGbG95XhIwQo3eaInfIOvuHt93ccVfo QkTEyzXaBeqhKJUfnztB8pNbFT3PyzjLujumFgtWTRqv6Deea6BrISWAzhs2FmViEsjR fNAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NqsRJy8I; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i1si1684565oor.83.2020.03.12.06.42.56; Thu, 12 Mar 2020 06:43:08 -0700 (PDT) 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=@linaro.org header.s=google header.b=NqsRJy8I; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727381AbgCLNmS (ORCPT + 99 others); Thu, 12 Mar 2020 09:42:18 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:37800 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgCLNmS (ORCPT ); Thu, 12 Mar 2020 09:42:18 -0400 Received: by mail-lj1-f193.google.com with SMTP id r24so6496798ljd.4 for ; Thu, 12 Mar 2020 06:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+DOluD+F62+UVUFsNUjLxaC0lyKRRbWzeQTro9ET2IA=; b=NqsRJy8IfYtvVOx2m61P7EUj7eKkRQC1W1McHaxUOH/XTR5geJiuT5IJcQaQ3nXb8l M2LJAR79pVa8FQ+2/8ZcyBkREzLsxQmsdbbnBNAajt6/Ur8nAhUkN6nyGyUdPBeF+Yj9 RhXI9+Db1pLJ5PtMWY5BohGHdNAG2Ng5Rzj0pir3fqfrWTc9vkEjUFRCeagCFSGP8NmW bTHID97c2LnvrSgLULrX+b0XRz6Ao3DLXkRhPWVncjiq3WLfRBMTsvoDvyJpmRX0AuSh vlLjYb7s73jyHx2EESmsqa8I/fTvd11T3BvX3H2aaKOFsXdqHfLK8Lr0bPskf+BhItYG jQXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+DOluD+F62+UVUFsNUjLxaC0lyKRRbWzeQTro9ET2IA=; b=XHgUgn9ecxM7qOkUyyxYos+jZm2o9P6X49ZORAJEs/dBGpM8iws3z21GyfuUo6umMh 7cEz/Kuk4h2LQupxh5pID/3aw+dve1YaztSj6CFsiZD0s8UwTe/rQ420Jbq63JV1a7aR BzoRoLWuDky4l7AVyRHAEMmprr+xUJAXjchwbHbrJBNkfqb+xRh/WyNNsPuDVSVWo7rC Z6qkz4PYe/Cv+PpDawQW5yg4dgTTrRqGSXrFaClRyCJVQklgnxDGQ2186xdtsOWbGKyj x1mpjXphZxxWmVf1CCXmhYMqIijM3KT16MNUZQojxBXMxOP7YLOasfV6vFMe9WQB/Iyc RQsw== X-Gm-Message-State: ANhLgQ3tibwZOnuTIirM5slXLnwEgjW6p4cGXuehZcDR4aCL3WowaCyg rMyRrMrlHvwG4blkdzqWQxOkFv4aW7aEUNLHqbMf5fG8HfE= X-Received: by 2002:a2e:8ecf:: with SMTP id e15mr3002789ljl.223.1584020536783; Thu, 12 Mar 2020 06:42:16 -0700 (PDT) MIME-Version: 1.0 References: <1583941433-15876-1-git-send-email-tharvey@gateworks.com> In-Reply-To: <1583941433-15876-1-git-send-email-tharvey@gateworks.com> From: Linus Walleij Date: Thu, 12 Mar 2020 14:42:05 +0100 Message-ID: Subject: Re: [PATCH] gpio: thunderx: fix irq_request_resources To: Tim Harvey Cc: Robert Richter , Lokesh Vutla , "open list:GPIO SUBSYSTEM" , "linux-kernel@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 On Wed, Mar 11, 2020 at 4:43 PM Tim Harvey wrote: > If there are no parent resources do not call irq_chip_request_resources_parent > at all as this will return an error. > > This resolves a regression where devices using a thunderx gpio as an interrupt > would fail probing. > > Fixes: 0d04d0c ("gpio: thunderx: Use the default parent apis for {request,release}_resources") > Signed-off-by: Tim Harvey This patch does not apply to the mainline kernel or v5.6-rc1. Please verify: 1. If the problem is still in v5.6 (we refactored the driver to use GPIOLIB_IRQCHIP) 2. If not, only propose it for linux-stable v5.5 etc. Yours, Linus Walleij