Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10332299rwb; Fri, 25 Nov 2022 03:44:00 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Kg3Qe3kx4MxKVX3MwEfXCVtnRrvU1gtW6kxv7PXiKYjMO2ThUuVgxIJP7EqVxSG+g0Hl+ X-Received: by 2002:a17:90a:5317:b0:213:95f:d37b with SMTP id x23-20020a17090a531700b00213095fd37bmr45554274pjh.60.1669376640307; Fri, 25 Nov 2022 03:44:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669376640; cv=none; d=google.com; s=arc-20160816; b=XQDSzz1RFGedtOR3EgUEnaSgL6vxYVoRWpDkfnEAAEx56G47kxr9l9DUJGie3F1cD2 rYDYVIt28YXyunWGW3z1vcdt3wTDEGq/qntT/fvy4Y6JCoEgVbG9RCJXlHAsQGEI1HF5 +i3HUoPqyUnclmZbEBbO0BU0YQeRiOPEsodX7EpIW+0dsMrFwGKNVSN0orV9XeyOvfya QsyUBqABwgdc5quITZto4T6XlvUHZ2+aYRxAVZblZwAtT7/jrIIOBGwTjPPiHZWnse/x lVduukiR1b++iWCVHVqYWW7O52OrtTnxsBsWO6edWxMKUGC4Cgei0na8CAV7Q9O0jRu5 aRzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=LZ660bnEeevIFuFIj/CjX8zVnVNzvFbyv/EtsUHhP/4=; b=TzZuuSbzSUAiNu2R7RSGXYHkUlAY0jpWChaEtPuJEogy5U2rtN3lVb/dkW2PNK43P4 nTtwHk5lqJCjGLZxN9UAWuAdnFOM6RMu1eyG9xo0sfykasXtoNeLn7oLCfX4As+QpnnK 7ynpzITElRREnyd2NOX3oNcLOYRCPRom+IYAX75QJLFpFdn+okAyEcfF687UFZ37xEUC 2yWwLG7A9iUkOsm+yEN14G3OAXPSAmCBHG5tcmzu2kXudSJLmWSM2AW8skk//u/DY+ZH UYdTbnC0CVmpF9cSC8tCoqtCVN9v1vwhIGfZZlKD3wyJZjh24WCf7f55+LJTPUrwLoPn 3a6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DvWP+8b8; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020a63db58000000b0047751f6c725si3354928pgi.159.2022.11.25.03.43.50; Fri, 25 Nov 2022 03:44:00 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=DvWP+8b8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbiKYLjj (ORCPT + 67 others); Fri, 25 Nov 2022 06:39:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiKYLje (ORCPT ); Fri, 25 Nov 2022 06:39:34 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E2F11788E for ; Fri, 25 Nov 2022 03:39:34 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D6286623B5 for ; Fri, 25 Nov 2022 11:39:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2476FC433D7; Fri, 25 Nov 2022 11:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669376373; bh=HnT47jn1b2f+jUwOPSH3bufQf+SsU7lXvXnNQX6JnKI=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=DvWP+8b8z0LEiP/d6XX9TUZQ7hHGOo92/Kkg+Aipe4leCohLdBr8d0Gw1XftL6XQT 1U72hZPo9ECr0R/GdIGeUqQlg5BcMEgyXHCSg8NFYxSMQZphH9fEgavtR7zEUtukxJ gT4Q/S2QmeDhm3SfLadEXn/2Yjd/R3I9o1B7uEiiaN9in+3VRVwECeWUQ0MlWa5X7C ToAMDKXc6IlI+AXOWU9bCd8xIrKUVkZQQxVtX/xXfNJvp6d+IC8BMqe/8mTiu/0wKa 1S0NYrR5npYBhZtJ4V0gC6mI1pT9B5ToJpVttNeBXRsZQa+yZ1mlBhcd8A/bA4RXMF 4CaBIkiJHr0Dg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCHv2 4/8] wifi: ath11k: remap ce register space for IPQ5018 From: Kalle Valo In-Reply-To: <20221122132152.17771-5-quic_kathirve@quicinc.com> References: <20221122132152.17771-5-quic_kathirve@quicinc.com> To: Karthikeyan Kathirvel Cc: , , Sriram R , Karthikeyan Kathirvel User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166937636895.32083.4258390402302531375.kvalo@kernel.org> Date: Fri, 25 Nov 2022 11:39:31 +0000 (UTC) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Karthikeyan Kathirvel wrote: > In IPQ5018 ce register space is moved out of wcss unlike > ipq8074 or ipq6018 and the space is not contiguous, > hence remap the CE registers to a new space to access them. > > Register read/write is modified to check if the register to be written > falls in the CE register space and corresponding register is written. > Also adjust the interrupt register address to ce irq enable/disable. > > Tested-on : IPQ5018 hw1.0 AHB WLAN.HK.2.6.0.1-00861-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Sriram R > Co-developed-by: Karthikeyan Kathirvel > Signed-off-by: Karthikeyan Kathirvel > Signed-off-by: Kalle Valo This patch added a new checkpatch warning: drivers/net/wireless/ath/ath11k/ahb.c:287: Alignment should match open parenthesis I fixed that in the pending branch. -- https://patchwork.kernel.org/project/linux-wireless/patch/20221122132152.17771-5-quic_kathirve@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches