From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55D8CC4332F for ; Sun, 2 Jan 2022 05:53:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231416AbiABFx2 (ORCPT ); Sun, 2 Jan 2022 00:53:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231204AbiABFx1 (ORCPT ); Sun, 2 Jan 2022 00:53:27 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BFF7C061746 for ; Sat, 1 Jan 2022 21:53:27 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id i31so68387059lfv.10 for ; Sat, 01 Jan 2022 21:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kN/N2rVxzZIMtOuMAHgQvn9VJQIKF/QJv0SmhaxabsE=; b=aAO3Nsb+2goe0QtK+PU3kzXBJ+vF7zKe/y1uxGrsZkEtSQavHFyz9DJ730ecAAEPiX 0/9vG1Xj9qdCFJ7oyeTQ57wmKtRFtzc1kzecVEKn6A5+UhAGMB47NpBMK8jLCMv9Qwij gp4V64XiQCtCyfHmDkQRxv88odYg4jfcyzWnGfkr7yLqz+tW+dtQgrJbQF1a0o3SzF2t huMo+mJf0nWGzCrIBNTGUkQj7t3tttPK+jMDjPP6oubAXQM2lTYa2Y4Ut0On7Zj2ECvt GHm9SW7oQFKWEYn+eotYRh4e4o8T9Y79pp5x/Ups/NKOXRB0A6ifdFA18LalhZalUuBt kLAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kN/N2rVxzZIMtOuMAHgQvn9VJQIKF/QJv0SmhaxabsE=; b=qe8SCzAYpeloGPRDc0vQtvreAi9b6uC+96cAqRVgGz/ojKk2OOUW6IkGh0LH1G8h6A y2e0YPScxqVevooJXDfdave+6cyECE69PgaVQde4z5M5uKA+MwC5+oj2kiP1l/vgUzsM x/z++jnskvyGK45FI15ZeBHvSwKQldsqZiBEDCxh2Ub2SHCFIXMuzUUezglCtPgejdx6 56xg3Yp7IC5OtEJD0dHQ6vhn53vVHwPbjVVLKgHWUnk4XsepypWdQ+qwRd7NtsIie9eZ fJBPpwU6mLaYmsRRCpiGR4GFGPKQqOdpuHFfM4fLA+TYTkXrz9xl/g7ssjajrGrkcJFt bmnA== X-Gm-Message-State: AOAM532IBzWyb2tmTMc7NcPFO6lo1a0h7R0+utfcYEPh2vPxqoGLTQ0F U0kgrNzorED/Ir0+h1U0yeVSG+0Ep4knp/nm6lYHaw== X-Google-Smtp-Source: ABdhPJylWhyOHbTj5KdXcatouGqU6VlN+Ex8KSXONqXfEUf+0KJhJA5+rfp4hk+4n+4kIRy98MPV/jipmTrNjcARuIc= X-Received: by 2002:a05:6512:2304:: with SMTP id o4mr35027621lfu.563.1641102805229; Sat, 01 Jan 2022 21:53:25 -0800 (PST) MIME-Version: 1.0 References: <20211226153624.162281-1-marcan@marcan.st> <20211226153624.162281-14-marcan@marcan.st> In-Reply-To: <20211226153624.162281-14-marcan@marcan.st> From: Linus Walleij Date: Sun, 2 Jan 2022 06:53:12 +0100 Message-ID: Subject: Re: [PATCH 13/34] brcmfmac: pcie: Support PCIe core revisions >= 64 To: Hector Martin Cc: Kalle Valo , "David S. Miller" , Jakub Kicinski , Rob Herring , "Rafael J. Wysocki" , Len Brown , Arend van Spriel , Franky Lin , Hante Meuleman , Chi-hsien Lin , Wright Feng , Chung-hsien Hsu , Sven Peter , Alyssa Rosenzweig , Mark Kettenis , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Pieter-Paul Giesberts , Hans de Goede , "John W. Linville" , "Daniel (Deognyoun) Kim" , "brian m. carlson" , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sun, Dec 26, 2021 at 4:38 PM Hector Martin wrote: > These newer PCIe core revisions include new sets of registers that must > be used instead of the legacy ones. Introduce a brcmf_pcie_reginfo to > hold the specific register offsets and values to use for a given > platform, and change all the register accesses to indirect through it. > > Signed-off-by: Hector Martin Reviewed-by: Linus Walleij Yours, Linus Walleij