Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9845428rwd; Wed, 21 Jun 2023 12:38:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6VSBW1iSucWsk8O9/vWF/CJJyYG9wk8hfAKqP00mYUXVqURpNr9O4sl90GZ/vq++nPcIbm X-Received: by 2002:a17:90a:690b:b0:25b:f4a5:7510 with SMTP id r11-20020a17090a690b00b0025bf4a57510mr10472086pjj.12.1687376321063; Wed, 21 Jun 2023 12:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687376321; cv=none; d=google.com; s=arc-20160816; b=WhoX3UG2kvRrgVyOXQAeP9eFKH5NA2kV1dvaaGl8qemh0J9Um1W9oD0EQEkLTMnivU taiEIDRmBmE+8AQXgm7LdKtmsdy6ZOTYJawyTAwsk0qr+uJpUTN5IM/1m7MQ23hqZ5KY iml5Istji/c21VIKlU3WiAo50S+i5xW588CRNpREk51dTkvO/DWA9CjCXwvme0oXcNjs otHhr0/v2qBuZNGjpkUmnxNnIunTSdhU5lVp6Cgjcps3nMpUtM+oMQugdcnLFy99xm0C x0pI5ItTMErruHrdII/YPFFzTcTw0Rh4tVzUszMgMtQJX3z3S1SSrvx7Xk9MjDzboZYY iy0Q== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ydv7rknf/qg04R5ykTH8bT9gjwv3JKQJcB/9WtHJVxA=; b=n+kcn2orPWcgIitlB5kyF71d7jCJWGDR9dBYOVZBxoismaNMTKeMqG9mnUXeBJxvnh hZtkqLJYgzZdlFV6z2cfOXvHspNHvh4JieGjIWnc9+KicIQ4/YamU0aivGTmcwXcEqB4 6xrxPU9BmJM9OuZqkxSCMVMC37Rv8DiXTpdBiK5z4aPTea/lyl5Tx4TdhV8VcVhuVlHA axwJs+4/MuM4jlFVZoGE57QDYGDG6haBesjGzlp2TQKq6bwWiKGnCV4BY4b9uYs+LJYP 2lVYRKu1/bkb+QySb5Xc0q0Iu0RT0IRNIyBqBvr9ROKHSnzHfepQyVhuTppfQOvJxl/U gUSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=YjyDrjI7; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds19-20020a17090b08d300b0025c21590d02si1293948pjb.96.2023.06.21.12.38.29; Wed, 21 Jun 2023 12:38:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@lunn.ch header.s=20171124 header.b=YjyDrjI7; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbjFUTZr (ORCPT + 59 others); Wed, 21 Jun 2023 15:25:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjFUTZq (ORCPT ); Wed, 21 Jun 2023 15:25:46 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B33569D; Wed, 21 Jun 2023 12:25:45 -0700 (PDT) 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=Ydv7rknf/qg04R5ykTH8bT9gjwv3JKQJcB/9WtHJVxA=; b=YjyDrjI7OLOW2QG+3Na9IiiqdL NkAxHgfwgWZiTl7LfxqeR3IazWmI/+vkxvJFzjOQQKa1Rx4W6mc/7Dfekv2xq8myipVX901Sm3UcW AvT8L5NwZcVoeP8evmWIPC1GdK6l9DuaXcDoOoqihybEEdpGMYeHV5hHVK2vZli1tZ/s=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qC3SC-00HBLB-BX; Wed, 21 Jun 2023 21:25:20 +0200 Date: Wed, 21 Jun 2023 21:25:20 +0200 From: Andrew Lunn To: "Limonciello, Mario" Cc: Johannes Berg , Evan Quan , rafael@kernel.org, lenb@kernel.org, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, mdaenzer@redhat.com, maarten.lankhorst@linux.intel.com, tzimmermann@suse.de, hdegoede@redhat.com, jingyuwang_vip@163.com, lijo.lazar@amd.com, jim.cromie@gmail.com, bellosilicio@gmail.com, andrealmeid@igalia.com, trix@redhat.com, jsg@jsg.id.au, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH V4 1/8] drivers/acpi: Add support for Wifi band RF mitigations Message-ID: <08dd8d17-6825-4e53-8441-85c709326f48@lunn.ch> References: <20230621054603.1262299-2-evan.quan@amd.com> <3a7c8ffa-de43-4795-ae76-5cd9b00c52b5@lunn.ch> <216f3c5aa1299100a0009ddf4e95b019855a32be.camel@sipsolutions.net> <36902dda-9e51-41b3-b5fc-c641edf6f1fb@lunn.ch> <33d80292-e639-91d0-4d0f-3ed973f89e14@amd.com> <9159c3a5-390f-4403-854d-9b5e87b58d8c@lunn.ch> <8d3340de-34f6-47ad-8024-f6f5ecd9c4bb@lunn.ch> <07ad6860-8ffb-cc6c-a8e5-e8dc4db4e87a@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07ad6860-8ffb-cc6c-a8e5-e8dc4db4e87a@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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-wireless@vger.kernel.org > ACPI core does has notifiers that are used, but they don't work the same. > If you look at patch 4, you'll see amdgpu registers and unregisters using > both > > acpi_install_notify_handler() > and > acpi_remove_notify_handler() > > If we supported both ACPI notifications and non-ACPI notifications > all consumers would have to have support to register and use both types. Why would you want to support ACPI notifications and non-ACPI notifications? All you need is wbrf notification. The new wbrf.c should implement wbrf_install_notify_handler() and wbrf_remove_notify_handler(). As to where to put wbrf.c? I guess either drivers/base/ or drivers/wbrf/. Maybe ask GregKH? Andrew