Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1031470rdd; Wed, 10 Jan 2024 06:49:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IHGy3W6aLSg5xHP0ZZlMHdVCX1igajJM3C96X4Fjd51vwvlPrEq+Kclt522AVkEEG+wsExO X-Received: by 2002:a9d:6349:0:b0:6db:d330:b8ca with SMTP id y9-20020a9d6349000000b006dbd330b8camr762925otk.57.1704898164033; Wed, 10 Jan 2024 06:49:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704898164; cv=none; d=google.com; s=arc-20160816; b=XvWWRbOkAM05bPx56bHhxBc5MHk1VtiXW86wZ4+eEZ/pl8r/wPF03McZnSPt04Da9u cUD95tvZ0z8bMjcnREADaAtUMoqWQ5VPXC7l0ygFCz0WV4w4TQWB64f1Y3nbltINwY0P SvW/1G0lyv+FbDFeLTC7bHED9OTpLRff1rEUDGEhl0RsLK2kAlMtHDJP8gh4VXXK315c QwXPMtA2VPjEdEs/W84vI2SIsqntEiPeoJtRncRUi7sRdLzocuDof2NHqZRAj2++10qP CYzX78UFl+otXi9scJbL/mtVHkiGgH06l+M4W9jjy5eajzcFMIEnW54MYirNOUP6Q46g joZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=DIq9DrXePcfyuchOu5FNM7/vAEchn8Z40Z5j75eEwHY=; fh=eN/Ohfbj3ES/L6ebL8IRBy9+ZFnomSNKSys9KIqV8nA=; b=sE4GyGyALCbCDnYsnGgQGa4OY4vTkrydhPebThLy/iTVUb+fb5xYpq7oB8zhW7eFpX oGAy9ZPz5xM1/MdMENxtVfHcyPcXr2kmaTju4bQrfLQ7wvcSbiYkC83DJZ7MQzoucFxr SIoyfWvVyhiDTXc2xbyJdulH2IkmjtVUpITjn4ygh91Jxb9Gfzv7TMOyWDn1o5jb+xcV lnqQjbNh8sMWatm7SBnIiaY9O3OEQQmIIzHkek7F3QpTSk01QY5jsMbBbXutrVOTnXh4 LtvQQ9VAooP4SqwY6JnL/BQEcwAOgYrH0eE34f76fbQUHCZ6IDgUSR+ClZpab6tdVgqB MOqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ECPMx0/x"; spf=pass (google.com: domain of linux-wireless+bounces-1666-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1666-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r18-20020a63e512000000b005ce018f428bsi3788879pgh.681.2024.01.10.06.49.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 06:49:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1666-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ECPMx0/x"; spf=pass (google.com: domain of linux-wireless+bounces-1666-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1666-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E83CB286453 for ; Wed, 10 Jan 2024 14:49:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B6B6495CD; Wed, 10 Jan 2024 14:49:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ECPMx0/x" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 017943DBB3 for ; Wed, 10 Jan 2024 14:49:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B37B8C433F1; Wed, 10 Jan 2024 14:49:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704898159; bh=gAxagzFtZBr3NNmkExdcRuabcdCgu9FppekKDExz3is=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=ECPMx0/xR2ghk41EnGtWmawuxNlOcugBUk4QXVOu3NIclRTZjYRj80+pGHzq3aRw2 5WarRQL8ODwABB0TFDwLHMpM/ueA6KMWnpGQGESPbITko8IiENvKTduSXfIpJhB4T9 gEVQL7oigjygkSItH/BHlZvq+yv8cnI8aUFM0F3RZIpilLn2zK/DtBt66A+cL3htFu Xm1Tus0Q0YBj0rgh632yOwcZMQK/g3FaMB31zs3fLwt0TNFncpCAPtZkNKagfNAl3C FV0hVceEeC7uJf7Whn9Tu2Ve62qFB+CG94Zg+cagH68qwzkcXDZeyreb7FJz/dJmF/ xW/wVdMsvzfPg== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: rtw89: pci: use DBI function for 8852AE/8852BE/8851BE From: Kalle Valo In-Reply-To: <20240103012346.6822-1-pkshih@realtek.com> References: <20240103012346.6822-1-pkshih@realtek.com> To: Ping-Ke Shih Cc: , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170489815643.471554.12112699687800189077.kvalo@kernel.org> Date: Wed, 10 Jan 2024 14:49:18 +0000 (UTC) Ping-Ke Shih wrote: > From: Chin-Yen Lee > > Sometimes driver can't use kernel API pci_read/write_config_byte > to access the PCI config space of above address 0x100 due to > the negotiated PCI setting. 8852AE/8852BE/8851BE provide another > way called DBI function, which belongs to WiFi mac and could > access all PCI config space for this case. > > Link: https://lore.kernel.org/linux-wireless/79fe81b7db7148b9a7da2353c16d70fb@realtek.com/T/#t > Signed-off-by: Chin-Yen Lee > Signed-off-by: Ping-Ke Shih Patch applied to wireless-next.git, thanks. 9496d62f3877 wifi: rtw89: pci: use DBI function for 8852AE/8852BE/8851BE -- https://patchwork.kernel.org/project/linux-wireless/patch/20240103012346.6822-1-pkshih@realtek.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches