Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp916208rwb; Thu, 15 Dec 2022 04:18:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf55KlsYFN2+Mis0kxIBp4xKU3hzfQFWuCcmSHoibriJ3cnaE4EtB08/xWjehLab0yQzmbya X-Received: by 2002:a62:3644:0:b0:576:663b:6614 with SMTP id d65-20020a623644000000b00576663b6614mr27263602pfa.2.1671106701979; Thu, 15 Dec 2022 04:18:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671106701; cv=none; d=google.com; s=arc-20160816; b=HeuoabbQBEOShlCJUslFVFId3sNdcO2D7C/Qb4FqdrcTAJnA+2qfD64LVYfXfDllgG G8tOdRiO+85Z865e8gvTT564k8irRq304qRE8622oo30B5y87ABYjWXLJ8+lJG51A2Op wWF8fA6Mmdxm/4MqiufbxM5eSuNmWeWhYZs87g9SZzE9fvA8INNILK6SBhRn0U0W95bn AE9uC/ebNHPDSQVLGvGIbuQCu/AeUmaQACm06MwK8jJtnMtafdf9r3kxYcMOjjA99ke3 w3bV1mFbfGlXh6WFwKwYzlcxfpW5rMcSxE6FlgZZa1c69B/EQCcEKstBObsTfDDpSZd7 TfHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=s79I6f0sGNxy151HZm2V6cUhxpd0OX3k4SAk1Tg/6hY=; b=TAP2e6xAC7mdSVYL+2z2yfcNOqWzPZg/dkc65AyMdQfTcleryjQKG0fln6/V6W26rR FFsWLDsFuJEG57oWGpdyH2qSR6Z5vRxrOLgqkgxEVqyCci1PURtfbNWanf5sh7Wh92Tx CfWwFuJXmP2d/bmXLhxpGscNKZ3HOzC4trfvNb43mCOkuzG7TSIqOj6OGUze8C/x5vg6 0BeghAEmNNetwa2UVJdkBkgP6HF71VEWGSh9ErKRCWoILh7sW4IjXZ48TBDOVwHdMbv4 VrB2VOJ+zau9iMBTLCKDPzkeEWr//Q1aQkTFZ7xSrb4OjEx+k9pmlNyhcDNHtsj0oBrH LkXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="i563UPN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y33-20020a056a00182100b005637366edb8si2982560pfa.9.2022.12.15.04.18.12; Thu, 15 Dec 2022 04:18:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="i563UPN/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229912AbiLOLaO (ORCPT + 68 others); Thu, 15 Dec 2022 06:30:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbiLOLaL (ORCPT ); Thu, 15 Dec 2022 06:30:11 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 661392A436 for ; Thu, 15 Dec 2022 03:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671103766; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s79I6f0sGNxy151HZm2V6cUhxpd0OX3k4SAk1Tg/6hY=; b=i563UPN/A+1VkHFJu04bMzCaVKiyoNzXfKvCYzQqo8eyfTLD5Ym7QUo+spuDakX61QAo8q OpXWQT6/IoL6f3BYLNj/1FEnTdy2GJFnZ5YBpqnkct6gS9DP7IOhwBbNI/pjm8g0Pge397 l/T2JU9mg4yajAtpUInLYoC4CVqyVMg= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-329-HlfS8suwOLywNouxGtqoyQ-1; Thu, 15 Dec 2022 06:29:25 -0500 X-MC-Unique: HlfS8suwOLywNouxGtqoyQ-1 Received: by mail-wm1-f72.google.com with SMTP id n8-20020a05600c294800b003d1cc68889dso646350wmd.7 for ; Thu, 15 Dec 2022 03:29:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=s79I6f0sGNxy151HZm2V6cUhxpd0OX3k4SAk1Tg/6hY=; b=Tl2ykFGhyj01sMNTh3hjDKeJ4gdXvgEQRiQ+3ZmU7yHqq1sxf9xMvbP9OhqhNuYKRU hz73DyTc8iSasEaQ8NB+AW/txnkn2jxcMFKdz966LMl6i9q/r82ps0aPVlGF/6wYGnVe d4l0xzQh/qW1vRX5rmtIm+Tm+jnVChFXj3hF0pAFBtkQSN7pjb4Ez+wV7qhgsZBBA29R LN2s41FLuLlhkGnR8U1sAX4ZxIh6vlzZC29rZx3YIBabuu+oI4bQoW6l25bFt1RmuNxt MLnYh3MSGujvY+Z0wwFGVuZqbxmFexfQ1QsSdUB6baqu6jkGKE0GLTK7J/9GwjPuwM0x t8NQ== X-Gm-Message-State: ANoB5pmeqVZAosfpc+h6CFDhF/Cfh5xgWpdC3lX5IPDApPZglJ875J54 lK4r4j7x8b/DuaVdYcvqlltRzkjFLNZ6uj1u8KzQl+YH/16PvV0ZXXotbcuuqRJG9RzMU+Yd9JX woO3FDGQdWCuOxkB1GrOCLiqy X-Received: by 2002:a05:600c:4f48:b0:3cf:76c3:b2e2 with SMTP id m8-20020a05600c4f4800b003cf76c3b2e2mr21774728wmq.35.1671103764152; Thu, 15 Dec 2022 03:29:24 -0800 (PST) X-Received: by 2002:a05:600c:4f48:b0:3cf:76c3:b2e2 with SMTP id m8-20020a05600c4f4800b003cf76c3b2e2mr21774713wmq.35.1671103763907; Thu, 15 Dec 2022 03:29:23 -0800 (PST) Received: from gerbillo.redhat.com (146-241-97-87.dyn.eolo.it. [146.241.97.87]) by smtp.gmail.com with ESMTPSA id x7-20020a05600c188700b003d1cf67460esm5580541wmp.40.2022.12.15.03.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Dec 2022 03:29:23 -0800 (PST) Message-ID: <0d35858867ae1c3de899d6162aa39e013daff435.camel@redhat.com> Subject: Re: [Patch net] net: dsa: microchip: remove IRQF_TRIGGER_FALLING in request_threaded_irq From: Paolo Abeni To: Arun Ramadoss , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux@armlinux.org.uk, Tristram.Ha@microchip.com, ceggers@arri.de Date: Thu, 15 Dec 2022 12:29:22 +0100 In-Reply-To: <20221213101440.24667-1-arun.ramadoss@microchip.com> References: <20221213101440.24667-1-arun.ramadoss@microchip.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2022-12-13 at 15:44 +0530, Arun Ramadoss wrote: > KSZ swithes used interrupts for detecting the phy link up and down. > During registering the interrupt handler, it used IRQF_TRIGGER_FALLING > flag. But this flag has to be retrieved from device tree instead of hard > coding in the driver,  Out of sheer ignorance, why? > so removing the flag. It looks like the device tree currently lack such item, so this is effecivelly breaking phy linkup/linkdown? What am I missing? Thanks! Paolo