Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1721790lqm; Fri, 3 May 2024 04:56:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUlNc+JBHrn2X5dx+1IHCZ/reFMZLlfMu1UzSqt3htLyJ7knqOWr2r+7gnfm7f25NcW7ZEHooNBN2h8RYX3k1uXdm5qtdM62lJiX2YFEw== X-Google-Smtp-Source: AGHT+IFvxP0BNo+oHyLIdOtwjWYPn8OShQc/1y8vjIvSXHESWPhbVvRLdgDWKSjuRKpabaKqKYte X-Received: by 2002:a05:6a21:2d86:b0:1a8:4276:670c with SMTP id ty6-20020a056a212d8600b001a84276670cmr3136851pzb.17.1714737410543; Fri, 03 May 2024 04:56:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714737410; cv=pass; d=google.com; s=arc-20160816; b=mHoiW77VS/PqhmCVckQzQ/b8ws5d3WW8qSLzC3FzjeorPdd7zKjr/fM3viz6lNyfrI MFCDP0Zr+4B5WUMknPasyuLCf9KDnoBa5WPNw1wUbyb5ODKPPFgwXfaBfPIQQpjPFcpL /RM4HzKC1kd9TQ/j25G0ec/DRxwDW0Y8sfztJoLz5VfqyJ1Meulcu8WIY/H/px3jIexc c1lO0S0TMGK4wDs2smRNW/KMhdPFxL9ktFus9BkRh54vgRKi5K74ABIgH3eGtFPBqkjX jC9+Mz/gpOjD5CHaqT+UuYLuSBwLkvfJCMlOaSXOlz2f2+Ex2Mq0ll1AQrwty/hq1MTK n6gw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bLaSTUMLd9q7wnaDYiji/Br9jByyayQQUiPApn9kpCM=; fh=PS6GkJ2332XYNkWKimcB60MOEGQd7so0GZRq9o/xk1M=; b=h4SLBQCAIS51OKFXOQReM1TBoYYeLbyUO/vJnMVRMBU7CF9qp6WWNePD3D3QM1vmgO B852oVLQ5KdtDh4w4Jk+Az15uedvooLwuFSlpWgzbzYVO46RnjlKxjIO1mBjf7W11H+a o2mxVgPxro1muPIZ6wWt+2tsdNY6smwJrIfoQ4n3cEAGON6MNeqEW+7zofZ3FjkJ00F6 XQEl4X7WHMlwCnLdKGJc8dfjZLxRdRzM5BvaEuVlao5XpHSgKMcFdJOgihhRbe1M1p+u tdaH0KRq47kwLSfpZVEizEuylJMwHbM5KL2zl5ZR42PM4MusdthYQfgde2VxGylBtkrc KRCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xqvtS0hg; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167611-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167611-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z14-20020aa7888e000000b006ed99532c2asi2830698pfe.296.2024.05.03.04.56.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 04:56:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167611-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xqvtS0hg; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167611-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167611-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 28A3FB21447 for ; Fri, 3 May 2024 11:56:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C9268152DF4; Fri, 3 May 2024 11:56:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xqvtS0hg" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 446F1152179 for ; Fri, 3 May 2024 11:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714737383; cv=none; b=AyDHnmLyj37dHfJZDU1lFanM/wYpE387X+LXUe0sM2v3OjuhTVFNkeLBuPIxPjSddG5JeH6Nby5BlIyDFr0CuOKq81/QUBk7IH/1Wkrem63eDLWHcNSonJrAvSY8CTFI3c4mGUk6JlHZ7ATiDFSBomMNlfqDEwlQgV7gyCnTUO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714737383; c=relaxed/simple; bh=WVuTMI4RfzaKZQ/KZB3oHNehORTjqvMFa9Or1nHvttU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=exryMtqvRTu2MCfuZngc+OOPLTFOfzwLGRfh4gxHkDKZAxYQVmYRcmLA/uv4+fzX+6bH5lnLMYNhbWbslbOxojE8pXs/5Gha7Z1yMY2HObtT5cIT/NvvgAKYwIVHocGIMqULBqrYc4X5NpeU3RVIGvgzKMFn/Tw/+0Smv7Vf8t8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xqvtS0hg; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-41ba1ba55ebso53677965e9.1 for ; Fri, 03 May 2024 04:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714737379; x=1715342179; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=bLaSTUMLd9q7wnaDYiji/Br9jByyayQQUiPApn9kpCM=; b=xqvtS0hgaUNebSfiVtU34UFQukCDUTsoQVDpXIpIjrESIoINNsrL5ZnOHYA9tovX8s qxwv622BHtcc+zMu7h64O+xZN646GTUMbkOnSXAQN4TbWtyCNBvhV4tm4iLL8NjZeZYz nB1lNC1RPvD8b7w2Y9Y4COHjDwqbJ3E02rSlAezPlFKRGPgJXJv/Y3Q7uvWEdroQSEol B4YPw7Ec7GXLHAbJxhK3XiNVn3A76DHmhgJPvvZaQdG7BgYOHnZ5FK9QuLdo3LxPbUF+ /GMSOpIDru+fMNKWENKN4OZ/mbQaL/yWC6Mnl54w+TvPMqPqWb0sgxA4YTyd70TlNNST oUNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714737379; x=1715342179; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bLaSTUMLd9q7wnaDYiji/Br9jByyayQQUiPApn9kpCM=; b=RzM3y2QcJT9Xs+XYY6yWuJevuflC8e3acx1tyuTwREh9CR+bahE0CxAWv0KspZxfHd Vfjf/xBDAKN7gLN0gXcjv1EyvJbqCVGOF+NqXocnQGuja4162KQEKItCrIEHpc3sO+ht Xp3D8C8/rKX8UbrXxgp28G6bhFFnbDd+iIgLdg4w6R0qjKoYmxXHb0HOJlvEIyY6BBVd 3Mm08I2dznXY3Y/6qw6BcCk7o2SGW1QtYwmQ4inMo13Ny8R9AkwPWoOGlqm7FlGqiGts mJOF402qUZT4Oz7XLOJ/70ekhHHtMBsR+U7LeZzyle72Yn0GQ6sMa/iRT89KUY51nqMt jVGQ== X-Forwarded-Encrypted: i=1; AJvYcCXr0edqYHyc96TtBz7DaJJoj6j4gGeNTgAqa4sCjwi1rKuoU7R4OuVsOnWwjYHyr2lJklr+EhWifDmIcFKuiLuNipMR0Nrxh0kxi/aZ X-Gm-Message-State: AOJu0Yz/bW8tdVYghKnqWjnsDREPyBMqKIwG8LXQ9/OeqpTMl54wv/BR 42yr2ou95nIxrzx94QvJR8wT2/QFbhSVPLYj5EUFARAZ0WnXImmkYGTQGn1v8ow= X-Received: by 2002:a05:600c:35c7:b0:416:3f85:d49 with SMTP id r7-20020a05600c35c700b004163f850d49mr2046052wmq.18.1714737379401; Fri, 03 May 2024 04:56:19 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id n21-20020a05600c3b9500b0041a9fc2a6b5sm9095079wms.20.2024.05.03.04.56.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 04:56:19 -0700 (PDT) Date: Fri, 3 May 2024 14:56:15 +0300 From: Dan Carpenter To: Jim Liu Cc: JJLIU0@nuvoton.com, KWLIU@nuvoton.com, linus.walleij@linaro.org, brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH v3] gpio: nuvoton: Fix sgpio irq handle error Message-ID: <87badb93-27d4-4255-8dde-24774d8e04c1@moroto.mountain> References: <20240429070523.3160248-1-JJLIU0@nuvoton.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240429070523.3160248-1-JJLIU0@nuvoton.com> On Mon, Apr 29, 2024 at 03:05:23PM +0800, Jim Liu wrote: > The generic_handle_domain_irq() function calls irq_resolve_mapping() > so calling irq_find_mapping() is duplicative and will lead to a stack > trace and an RCU stall. > > > Fixes: c4f8457d17ce ("gpio: nuvoton: Add Nuvoton NPCM sgpio driver") > Signed-off-by: Jim Liu > --- > Changes for v3: > - remove unused variable > Changes for v2: > - add more description Thanks! Reviewed-by: Dan Carpenter regards, dan carpenter