Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13713048rwd; Sat, 24 Jun 2023 05:24:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fvVkr98qvI1MAosl+HKJu/ZRfu/JetjMSD0fsdpU+0f5nGW4O1vedpNHeQStp/le6nOwJ X-Received: by 2002:a92:c841:0:b0:340:5a22:d16a with SMTP id b1-20020a92c841000000b003405a22d16amr21724350ilq.26.1687609446269; Sat, 24 Jun 2023 05:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687609446; cv=none; d=google.com; s=arc-20160816; b=IFTHR1S0pDHNSzCr9IiIbVXqnAz5dWT7OZhPUOzbfkyKUB9tj+htpnPq9UFriT+CCj 012DDHhf8HPN23W5nOi1U8wyxrPhDFRjYRzhh35HqIIQaKYd49pEBoy1OyRW9WsbggNL YPZbaOPWhxX+pACncoyRJpsU826nvUvzWCHze0O8o5s1RMP6swJuWO1edPsHSJSw9Qy1 k8+oHyR5bKa3UfggMvZyafmpW/RC+Ydgd5tSRGWdDKXOylK/f0k9Rt8af5lp+l4jUqOJ Giky5kQqb2+RHOIgvyFc1MU7b5QU72QYEkr4EKytREl8uuO3kLHH88+cKymYhiKhcxYV +jCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FIQRhP0Mo8ANvdwGv6BJmi7mUWnYo3RwZ/e8paR7FaM=; fh=hltURcj20YQL7tdxTInWjXMq/DoQbJMK3BlsQx42Ka8=; b=bV2bML/+p8OGxgpq4Psf9c6CUkz0+CRBMP8q9DJYLC4ULSdL2EnbWad/R03y3S/K5z vJjln1P1GkF076JRoyEgi5yzyjeUt5axzXg9swVDRrnCBx6mXbngfr8HEuXdT4FAsu9D Lf2vip4brNJkXBr2/vqruigiJ4o3Nb/J3KSBzbOeVRiWqitLYXjAhVg1vRz2Ea0iT/xT FOMKwL3fJp2A0l7iRiA5KjMwT4hI0lC3akq/hEo242b7gOSKSqA8PNk3i3X5HVKAsuyY YOPCJFnqjygKwgKFcpRGSYRK5HT+tlIEJWS8UzWGX+rAtKR6JdQXKkDJ1D3vOL71nrlO E1IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Beuj0NNt; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k67-20020a628446000000b0066c626d9d0bsi1102210pfd.343.2023.06.24.05.23.52; Sat, 24 Jun 2023 05:24:06 -0700 (PDT) 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=@linaro.org header.s=google header.b=Beuj0NNt; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233070AbjFXMUp (ORCPT + 99 others); Sat, 24 Jun 2023 08:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233000AbjFXMUo (ORCPT ); Sat, 24 Jun 2023 08:20:44 -0400 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 019B51BFC for ; Sat, 24 Jun 2023 05:20:43 -0700 (PDT) Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-763e968b7feso144658285a.3 for ; Sat, 24 Jun 2023 05:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687609242; x=1690201242; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FIQRhP0Mo8ANvdwGv6BJmi7mUWnYo3RwZ/e8paR7FaM=; b=Beuj0NNtnok3NI8RorYOHhfe/ZjoF4mUwFlGf+MAgh3NzeFxwCGBFpEq9tH7zCa2Sb 9ibTKEvJZORYeaugtkPEqaG2CDIL6pMrEqcxlo1oitN1QMosb5Cz1tKWjjLu2D/0yZyJ KmNoMq3QHk9KNuVIJmU1flaxUqnwRy5Pp63o+tkibmNM0UlmIOtyshG6OEzZHkJkQ237 JdQS+U7kBn8kii/Hn4lNCFJZERCHRQaV4KrmQnAEvrh/ChJz/g5M0lR8oG838nskK/vN DugMNf0P3Tff3faU7f+K9r39RjD+K7MfvIcIyboLdM2GO8xTlXs44XJvEPWNYtkIRVIb /0Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687609242; x=1690201242; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FIQRhP0Mo8ANvdwGv6BJmi7mUWnYo3RwZ/e8paR7FaM=; b=grrolSebKokY1jJr9gGb5fwn6iV2e5BK6QJW4jWGLoLzu9FA2TepPZSMJlKDHsW4fG FWBNrCT6Qb/midjTOBBQF6cBo5gVncvuYVH5vbGBuxUlYvZSxB2ur3XGAPTZ2M6+N64A lrAvr8N+OheiiCsLmbv7jbPkBXJGEIESC8ul/NdKDGdohg/PjA4UWLpbHesTre/qcLTn 7oTbRJsSytSwJiyYjlIwpQSq+Harn1uDseaiBwQjFRt3VmvpVVt6q18ZpFDsrCHLltSL HF4RfzfksBczw5Y6ZvULQEQPLstDA935FzjU5o6owAI6a8G4UPTo/vb0FPkuwwyCgSKk L09A== X-Gm-Message-State: AC+VfDxLqH/4oXw59YwIM3hXhZejLIOSytsCl7oZhyQdVaR8yAizGT7l VOMTzxJ3/HzrfOxp6qLtNPlgjKoR/Yy+5YZ3FPOiEw== X-Received: by 2002:a05:620a:28c6:b0:765:5f7a:48e1 with SMTP id l6-20020a05620a28c600b007655f7a48e1mr1409350qkp.40.1687609242163; Sat, 24 Jun 2023 05:20:42 -0700 (PDT) MIME-Version: 1.0 References: <20230624112958.27727-1-jonas.gorski@gmail.com> In-Reply-To: <20230624112958.27727-1-jonas.gorski@gmail.com> From: Linus Walleij Date: Sat, 24 Jun 2023 14:20:30 +0200 Message-ID: Subject: Re: [PATCH] bus: ixp4xx: fix IXP4XX_EXP_T1_MASK To: Jonas Gorski Cc: Imre Kaloz , Krzysztof Halasa , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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-kernel@vger.kernel.org On Sat, Jun 24, 2023 at 1:30=E2=80=AFPM Jonas Gorski wrote: > The IXP4XX_EXP_T1_MASK was shifted one bit to the right, overlapping > IXP4XX_EXP_T2_MASK and leaving bit 29 unused. The offset being wrong is > also confirmed at least by the datasheet of IXP45X/46X [1]. > > Fix this by aligning it to IXP4XX_EXP_T1_SHIFT. > > [1] https://www.intel.com/content/dam/www/public/us/en/documents/manuals/= ixp45x-ixp46x-developers-manual.pdf > > Fixes: 1c953bda90ca ("bus: ixp4xx: Add a driver for IXP4xx expansion bus"= ) > Signed-off-by: Jonas Gorski Yups that's a bug! (My typo...) I'll funnel it upstream through the SoC tree. Yours, Linus Walleij