Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp507641lqj; Sun, 2 Jun 2024 08:28:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV5WhmFah4YFb2XRGncY1EVvI6nRcrS6fd5i2X+D1G2Z59ynNj7/VwYYZEVcFaOgg9NylWXiam/9CBOUZ+u2qbm1h2JEqfY1+6D2bHcmQ== X-Google-Smtp-Source: AGHT+IG6KmEBJMOP6vXxchfjxb7D9JzdKmuauJk2q0HhJDTBxe08fJl2grfA0qWPZecK7usdzl2g X-Received: by 2002:ac2:47ef:0:b0:52a:d38f:b4f0 with SMTP id 2adb3069b0e04-52b8980b2f3mr3868062e87.62.1717342087028; Sun, 02 Jun 2024 08:28:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717342086; cv=pass; d=google.com; s=arc-20160816; b=VyCcS+8moHfcHOb9nGKnllHHCW5K4hj+f4QcMinzZTSgBprojDJQU5NaHizHBnG2fM xXYXbKoBwUoTzmAsnybwsu4R0gEJoHXjpFlFDZJ0JcuVoOo24TvqfPtqGlObvlbYOGqR k8U6IabrBqlJ0hK3rvZGpMcA61F4CjJssnO17XtvJ0F5fM/g7Bd4CHKXkn8yrt5/MOL+ x4QuO8CZZ3wp0Efhzt62WTOs5hn4S6GiF2tSto0Q92k4TK5BLAuBok7Lh4M889lKfm2j qVcFgAdlLdcNKG5W5tMaseoUudXJ5PgRkFQ83wE1UapjbSnlZ/Fi+0za9L+CB/8ez5W9 OJkQ== 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=nqavnFoJZa1xwelaw40YOoUGVHNLrYxcxg9LB1wcUDc=; fh=II+bNJFFT1qG59kk/TXW8qUHPnT8MiKtz+uS0IBFhBI=; b=xq8vrcKvrVby8u0O+6CmOiDOgZ+ATenU7mx3TdcNekm7VfZUdcEkjrJ1/U33j+SDi/ Q8Itm19hnzRIlY0RLQ/iAwCNF5CGt2OUY7eeADdDpjSYm5AC18pWyP/xUj9ezK7kz6Bn OaKREUjKn8TedOVjLH6IT+hFQwHuN2XP2b3xT9+9BJUyV9DHxEr63+ORFF7tzTVfdWrZ K7O4jv2dPmyYuYVQPTw2h4kxGtKN4diTvQHrPFnv2DW2XfVcogXvCiqBTy6330xQJtPv AJF8ZG4xrLaN8gk16qP2HtCr+FaIJZE1ewc0gYQCDOmnLZsu3MtyWQG9tYhgbnXSGQow d2ZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=19z0dVig; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-198311-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31b80fb8si3241720a12.2.2024.06.02.08.28.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 08:28:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198311-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=19z0dVig; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-198311-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7F2D01F229CE for ; Sun, 2 Jun 2024 15:20:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35C3844C81; Sun, 2 Jun 2024 15:19:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="19z0dVig" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E907EB66F; Sun, 2 Jun 2024 15:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717341594; cv=none; b=CpSxFV1ZSsKakALt7jb3UtgwiqiQakMs9gnhHxzUPTmiJL6IaU8jVSgZqyhS+s1vYJVVcgVa47wbXXOkNexws+6HlKclNPwJ3iCfNvZJo8QQtlq8RrxP04kZ/0MQkWe6AaIEVV7wuUJYRYI7ndzXrIfGVJc7XQ/1pWszHzo8hvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717341594; c=relaxed/simple; bh=SQPi2dhR+hrDRiZHBXwEL9RYbOgNyAjNeqon/0CFbvs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GukhEVpenvoBDt7OH4RHNqmqk7qgdio2wMC/ALqz0tUC4CW/MT2QV8bHjwB4cD9ECHz6sMdwT6YRnw1DNcebeb3SDmYLlz2yYUPnSOGLlw2H0UXKsQ4hD3Ow8zNaaKMiObD3E9EYPiGw3E37EJO8mUXIC19LoYd5BD2OogK8FUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=19z0dVig; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=nqavnFoJZa1xwelaw40YOoUGVHNLrYxcxg9LB1wcUDc=; b=19z0dVig33YnGNy2632d3m3fcl jiLjbxL6hgfaKJoRbsPfAGcOqsdDmkKKMSvtYX59YruXV2+8istZwECGDh8KmSYPy0FY+7PSm1p4H VZaQ2YoSz0U+k7m3Ot9OWrwNmWOTvwvyTDkYJbQ34iMyhx4Ra2CiJiT3QLBcXIsA1UyA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sDmzg-00Gcco-M6; Sun, 02 Jun 2024 17:19:36 +0200 Date: Sun, 2 Jun 2024 17:19:36 +0200 From: Andrew Lunn To: Sunil Kovvuri Goutham Cc: Diogo Ivo , MD Danish Anwar , Roger Quadros , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jan Kiszka , "linux-arm-kernel@lists.infradead.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: Re: [EXTERNAL] [PATCH 2/3] net: ti: icss-iep: Enable compare events Message-ID: References: <20240529-iep-v1-0-7273c07592d3@siemens.com> <20240529-iep-v1-2-7273c07592d3@siemens.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: > >+ iep->cap_cmp_irq = platform_get_irq_byname_optional(pdev, > >"iep_cap_cmp"); > >+ if (iep->cap_cmp_irq < 0) { > >+ if (iep->cap_cmp_irq == -EPROBE_DEFER) > >+ return iep->cap_cmp_irq; > > This info is coming from DT, is PROBE_DIFFER error return value possible ? static int __platform_get_irq_byname(struct platform_device *dev, const char *name) { struct resource *r; int ret; ret = fwnode_irq_get_byname(dev_fwnode(&dev->dev), name); if (ret > 0 || ret == -EPROBE_DEFER) return ret; This suggests it can happen. Andrew