Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4420928pxf; Tue, 30 Mar 2021 07:26:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNXPS0SHN+wwfOns3/rnQujcZt3AvJh17s/1p4VshkcQTd77aYIFNVfUUO7XmJ/dKfvjm7 X-Received: by 2002:a17:906:9888:: with SMTP id zc8mr34308721ejb.310.1617114407167; Tue, 30 Mar 2021 07:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617114407; cv=none; d=google.com; s=arc-20160816; b=mMooZ3TEDRMBoWDMu0v5k2Mobww0DM3RKUJXILmeMaDn3dEP0/bE68+w2szTmpKAmG yXrA93ufMYWFc//BlE3SjLD0E3Q39MA82DU3qih4/yQs0NE+jMnhlcj92cncJmMTO61g 7jZUjbRX8h/5rSMxddfGd1z7DfNT2PflHIdpkDTfkwaVXyKpq3gShSpWrZUMTkMe9nvp k22dImOXuV88DZcmBFHq9Rkdtif5j0PT2KHemQVDMgAaMSfuhjyy2hvNWbNKgI2r2urM zWWhcEs9zOBMaMeiSD80mqSmDnQA98FSdC8CMffJq7kZA/KNuccXhCNS+szlQoAuaMMP guXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=ebor7mOK9Oo/TboW74ksZPtHyuc6HC17vlS+cQBZPDg=; b=WMEwrbDFTgGu5gwtw/JBZHFe4Cv9hHPvF6+49xurixp9ekw8NxKIUzRGVrVtkEVPgI nkA+Hzg/OpNIvjQ4b5oJlPMeCyV1zxlSZ3ZmPG0eykiX0glH7GjFe0++2thYtwNdcUbY 5bRzfzcabCmvdLE0n6V1MQpdU8cif5Tp8Y1lOSpBldMQZFGEgFQUsndGzjZfwUjvckqo 7Ea/tX6E5DqqfRuuR3WbiKHHRxElsQ9/ef53BoyPqreeNTmbtcocwVTb9wacInPYX7HZ pID9L5AcHds6OUq3uNo+Xrcde3Mitk6t7RgevyLIw+M/q7Le2/fxCqIorm6Gey0h4fpp YTkA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p3si15329847ejn.395.2021.03.30.07.26.24; Tue, 30 Mar 2021 07:26:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231803AbhC3OZO (ORCPT + 99 others); Tue, 30 Mar 2021 10:25:14 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:54790 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231882AbhC3OYt (ORCPT ); Tue, 30 Mar 2021 10:24:49 -0400 X-UUID: 36093d43e0884872946b8d49f557ef4a-20210330 X-UUID: 36093d43e0884872946b8d49f557ef4a-20210330 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 275825953; Tue, 30 Mar 2021 22:24:47 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 30 Mar 2021 22:24:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 30 Mar 2021 22:24:40 +0800 From: Lecopzer Chen To: CC: , , , , , , , Subject: Re: [PATCH] irqchip/gic-v3: Fix IPRIORITYR can't perform byte operations in GIC-600 Date: Tue, 30 Mar 2021 22:24:40 +0800 Message-ID: <20210330142440.30119-1-lecopzer.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <87eefwrash.wl-maz@kernel.org> References: <87eefwrash.wl-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [...] > > > > > > > > From the architecture spec: > > > > > > > > > > > > 11.1.3 GIC memory-mapped register access > > > > > > > > In any system, access to the following registers must be supported: > > > > > > > > [...] > > > > * Byte accesses to: > > > > - GICD_IPRIORITYR. > > > > - GICD_ITARGETSR. > > > > - GICD_SPENDSGIR. > > > > - GICD_CPENDSGIR. > > > > - GICR_IPRIORITYR. > > > > > > > > > > > > So if GIC600 doesn't follow this architectural requirement, this is a > > > > HW erratum, and I want an actual description of the HW issue together > > > > with an erratum number. > > > > > > > > Lorenzo, can you please investigate on your side? > > > > > > Sure - I will look into it and report back. > > > > Checked - I don't think this patch is needed so it should be dropped and > > a follow-up discussion can continue in the relevant/appropriate forum - > > if there is anything left to discuss. > > Thanks for having had a look. This really smells like an integration > issue rather than an actual GIC bug. > > Lecopzer, please check with your HW people and potentially ARM, as I > think you are looking at the wrong problem. Thanks a lot for the suggestion and checking, I think I'll back to disscuss with ARM and our HW team to figure out the previous answer from ARM Support in detail. Thanks again! Lecopzer