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 X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A9AFC4363A for ; Fri, 30 Oct 2020 04:02:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9448420706 for ; Fri, 30 Oct 2020 04:02:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mymailcheap.com header.i=@mymailcheap.com header.b="LDh34qEA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="jECxoBGQ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726072AbgJ3ECj (ORCPT ); Fri, 30 Oct 2020 00:02:39 -0400 Received: from relay-us1.mymailcheap.com ([51.81.35.219]:45344 "EHLO relay-us1.mymailcheap.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725831AbgJ3ECj (ORCPT ); Fri, 30 Oct 2020 00:02:39 -0400 Received: from relay5.mymailcheap.com (relay5.mymailcheap.com [159.100.248.207]) by relay-us1.mymailcheap.com (Postfix) with ESMTPS id D150420F43 for ; Fri, 30 Oct 2020 04:02:37 +0000 (UTC) Received: from relay4.mymailcheap.com (relay4.mymailcheap.com [137.74.199.117]) by relay5.mymailcheap.com (Postfix) with ESMTPS id CB103260EB; Fri, 30 Oct 2020 04:02:03 +0000 (UTC) Received: from filter1.mymailcheap.com (filter1.mymailcheap.com [149.56.130.247]) by relay4.mymailcheap.com (Postfix) with ESMTPS id A5F203F162; Fri, 30 Oct 2020 05:01:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by filter1.mymailcheap.com (Postfix) with ESMTP id C02C82A0F9; Fri, 30 Oct 2020 00:00:59 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mymailcheap.com; s=default; t=1604030459; bh=Z75WvSo9SEXtJ8alXdBsXk5kc8Id6pr148RzsDd1w2k=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=LDh34qEAFtOBpeb9lkDu6d72a7OjofQUszmHSve7c5p5lxz0YUc4grNdCmRNPnhD/ QLZQwy75XgWB2oktoRMzEOystH3C++oz8gZGRwvl2bRb+rGOmDSDDqDwWsKpcIhjuq W8MFRf1eX3SvtUbYb2IxzCJhjJOkkTQs1f5dcMsc= X-Virus-Scanned: Debian amavisd-new at filter1.mymailcheap.com Received: from filter1.mymailcheap.com ([127.0.0.1]) by localhost (filter1.mymailcheap.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qD6W3XabIEuZ; Fri, 30 Oct 2020 00:00:58 -0400 (EDT) Received: from mail20.mymailcheap.com (mail20.mymailcheap.com [51.83.111.147]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by filter1.mymailcheap.com (Postfix) with ESMTPS; Fri, 30 Oct 2020 00:00:58 -0400 (EDT) Received: from [148.251.23.173] (ml.mymailcheap.com [148.251.23.173]) by mail20.mymailcheap.com (Postfix) with ESMTP id 3AE7141F14; Fri, 30 Oct 2020 04:00:57 +0000 (UTC) Authentication-Results: mail20.mymailcheap.com; dkim=pass (1024-bit key; unprotected) header.d=flygoat.com header.i=@flygoat.com header.b="jECxoBGQ"; dkim-atps=neutral AI-Spam-Status: Not processed Received: from [0.0.0.0] (unknown [113.52.132.214]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail20.mymailcheap.com (Postfix) with ESMTPSA id EE15C41F1A; Fri, 30 Oct 2020 04:00:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=default; t=1604030449; bh=Z75WvSo9SEXtJ8alXdBsXk5kc8Id6pr148RzsDd1w2k=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jECxoBGQn43D8JNHYmy4MoHic5+QZW7YRH4It5t7Ur1U5v4W+yKZiOee5nrOaN10Y I0W8Ki7PIoY6P4Li+Q5MnQsGvt8B08lQloSPYApltXExYMeuiUhWUu6awION9POc8z RLkH0kC9csy6sjxiGQVecs+DZOPHbkQXqraRE8Aw= Subject: Re: [PATCH 1/6] MIPS: Loongson64: Do not write the read only field LPA of CP0_CONFIG3 To: Tiezhu Yang , Thomas Bogendoerfer , Huacai Chen Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li References: <1603958581-4723-1-git-send-email-yangtiezhu@loongson.cn> <1603958581-4723-2-git-send-email-yangtiezhu@loongson.cn> From: Jiaxun Yang Message-ID: Date: Fri, 30 Oct 2020 12:00:41 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <1603958581-4723-2-git-send-email-yangtiezhu@loongson.cn> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3AE7141F14 X-Spamd-Result: default: False [-0.10 / 10.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[flygoat.com:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[6]; ML_SERVERS(-3.10)[148.251.23.173]; DKIM_TRACE(0.00)[flygoat.com:+]; DMARC_POLICY_ALLOW(0.00)[flygoat.com,none]; DMARC_POLICY_ALLOW_WITH_FAILURES(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:148.251.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; HFILTER_HELO_BAREIP(3.00)[148.251.23.173,1] X-Rspamd-Server: mail20.mymailcheap.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ÔÚ 2020/10/29 16:02, Tiezhu Yang дµÀ: > The field LPA of CP0_CONFIG3 register is read only for Loongson64, so the > write operations are meaningless, remove them. > > Signed-off-by: Tiezhu Yang > --- > arch/mips/include/asm/mach-loongson64/kernel-entry-init.h | 8 -------- > arch/mips/loongson64/numa.c | 3 --- > 2 files changed, 11 deletions(-) Hi Tiezhu, AFAIK it's not read only on 3A1000. Have you check with hardware guys? Thanks. - Jiaxun