Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3245914lfo; Sun, 22 May 2022 23:46:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYgR4/u+pDtOvaJssQEoRw+ro/P5WR6R4Q+qE+oeAD4rVdW2GMmHhB9tJ54azV+NA22PgO X-Received: by 2002:aa7:9019:0:b0:4fa:7532:9551 with SMTP id m25-20020aa79019000000b004fa75329551mr22824640pfo.26.1653288392742; Sun, 22 May 2022 23:46:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653288392; cv=none; d=google.com; s=arc-20160816; b=rHP96Y69cjYQu5Vswp//PWUtwKuuLMBe55yD918RBx4gwMtYoc1KuvaliiBLxdfC0W YB5iaZh8l6znm899tYpWC+m/ShC3moDy/TImfkk7fmRIHfCyaYrDeoviRdJJ8gzvmf5N 71+noKHS1btwfmztZeHzhk6pB3ZWgPxicb9MBlU8qTGzX+K2308pUD3ODLqAshwXbrnC Ju9Q6NePbnaJauSX+eJmPZM2IbPWSBCaLfyFaASdePIVeD0ElhePJXXwFq+eszkwlIRB wRUw1HuBRpicJgzInBt7VgHUME6TTWw1EDMClP28pj7D5Q4vsiGSs+0m1rRzO9nR2+6h rRbg== 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=bykWdl7RkLd7Jog7GhgIWoVbo/GRYcAx6n48qBmXwJQ=; b=bKbUpz/HKKCAE6cOFX5TjgYE4X8lOJaiCQgUCs/5ZZRQN2LQ2bW5OxgjcTumhoN1a5 WiWUDRXKmB9luD6W9x2LxPKTQmgc971bli2hIfEY8nhY/jYznp3dv6qZ2RX6z27tuHlR goceHzd3fw9675fHAFEl8epRfSTEapTnmL2XvnxRC05f9e3kAr17qxNTAoeTYmZuPEVF LVGQ3N9DAP53OhyaBhslw7fa/imM01slPjh3mJyB54oehK7sxU6R+MLrs9jcyuKD7opd jzjM9W5RWQU3sq+I1kTLdJzOoSyWfcmaznkERSX8OO9oQLLE0CnaSuzyrICDMCKYwTwo +Vxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gTDImOFg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 79-20020a630252000000b003fa4c706645si3634148pgc.791.2022.05.22.23.46.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:46:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gTDImOFg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0C8EA5046F; Sun, 22 May 2022 23:16:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238099AbiEUM60 (ORCPT + 99 others); Sat, 21 May 2022 08:58:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231732AbiEUM6Y (ORCPT ); Sat, 21 May 2022 08:58:24 -0400 Received: from mail-vk1-xa2b.google.com (mail-vk1-xa2b.google.com [IPv6:2607:f8b0:4864:20::a2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0BF65E770; Sat, 21 May 2022 05:58:22 -0700 (PDT) Received: by mail-vk1-xa2b.google.com with SMTP id bc42so5179651vkb.12; Sat, 21 May 2022 05:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=bykWdl7RkLd7Jog7GhgIWoVbo/GRYcAx6n48qBmXwJQ=; b=gTDImOFg2B6vBdQngixeW/HBPTktxpECBn/wsKGgzGqvIB/rHUt2m6Lx8G2UhwbFR6 eFHv+2FUP23EXjhF0JGO7oeZH9VWAWwPx+yH7evdpZuMu8ew1iTVo53uGCD0Ywz03b08 1Rb+j7cO8b99jzj5uYdBfnAw08STnAdQ0JQV5lp3sjiKzwyrkMgEkZmkeF+MjKjL0Pgd 98uyQnUMYaQrHP02V5PitoHKi6JBPLag0nQyoEJUWuFjRZkklusWihMRj6th0Xx83rKM 98UzlkRgsztjyb0ZklsrVWu4+aLKj3XECXsaTMG82pEfx9JO+WIe3Vdil8drO7OKMD4E WW0w== 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:content-transfer-encoding; bh=bykWdl7RkLd7Jog7GhgIWoVbo/GRYcAx6n48qBmXwJQ=; b=Jc4C5eNg+LgYMVczlpsg+jLja+XAXcodL+SjXRiOqVBXVrfK1r2YmZ49r5/mj+sj2P Jb6XlS+o01K8HTXEGDjDl8ricEh9DRwJ15vCDb04vNlfXMkh9DLFruuex2JZAZwKTLNZ cjjUmr9mnDoDb5mimOLxjLg0qH5OoFQmMWfsJJ9T8Bb7a+14ATFYl2nk8WC/RkmcdQAN wMzuv01KezMzkuYANKibMDagzJpBadrRo/7lqUbXH402ZTPhrt3uCrKNK9g6gUYPR4DB oYxwIErNjba+ynksiYBcPHjsPhcCgWdOY+WJTBc0rHRP/rwagMbL5v0CkFWDQIO+OObL iBTw== X-Gm-Message-State: AOAM5316l48yzqpo5degmqGAGBQe4ahe8d+b7VAS2IfoqmdXFu+BiEil +7nHr5n9HI/O/Y8UdkTYm86ubqKuZFR8rEFnQw== X-Received: by 2002:a1f:3254:0:b0:34e:b02d:bdd7 with SMTP id y81-20020a1f3254000000b0034eb02dbdd7mr5659802vky.11.1653137902033; Sat, 21 May 2022 05:58:22 -0700 (PDT) MIME-Version: 1.0 References: <20220517101142.28421-1-warp5tw@gmail.com> <20220517101142.28421-7-warp5tw@gmail.com> In-Reply-To: From: Tyrone Ting Date: Sat, 21 May 2022 20:58:10 +0800 Message-ID: Subject: Re: [PATCH v5 06/10] i2c: npcm: Correct register access width To: Wolfram Sang , Tyrone Ting , avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, jarkko.nikula@linux.intel.com, semen.protsenko@linaro.org, rafal@milecki.pl, sven@svenpeter.dev, jsd@semihalf.com, lukas.bulwahn@gmail.com, arnd@arndb.de, olof@lixom.net, tali.perry@nuvoton.com, Avi.Fishman@nuvoton.com, tomer.maimon@nuvoton.com, KWLIU@nuvoton.com, JJLIU0@nuvoton.com, kfting@nuvoton.com, openbmc@lists.ozlabs.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: jie.deng@intel.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Wolfram: Thank you for your help. Wolfram Sang =E6=96=BC 2022=E5=B9=B45=E6=9C=8821=E6=97=A5 = =E9=80=B1=E5=85=AD =E4=B8=8B=E5=8D=881:53=E5=AF=AB=E9=81=93=EF=BC=9A > > On Tue, May 17, 2022 at 06:11:38PM +0800, Tyrone Ting wrote: > > From: Tyrone Ting > > > > The SMBnCTL3 register is 8-bit wide and the 32-bit access was always > > incorrect, but simply didn't cause a visible error on the 32-bit machin= e. > > > > On the 64-bit machine, the kernel message reports that ESR value is > > 0x96000021. Checking Arm Architecture Reference Manual Armv8 suggests t= hat > > it's the alignment fault. > > > > SMBnCTL3's address is 0xE. > > > > Fixes: 56a1485b102e ("i2c: npcm7xx: Add Nuvoton NPCM I2C controller dri= ver") > > Signed-off-by: Tyrone Ting > > Reviewed-by: Jonathan Neusch=C3=A4fer > > Applied to for-next, thanks! > Best Regards, Tyrone