Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp977788pxx; Thu, 29 Oct 2020 21:04:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1cheJktf3uVTL5JDyRQCOCwSOCytEvBjtgUumY7aXejkXMEcpgah6S/u44IWjXdGZU6zs X-Received: by 2002:a50:b224:: with SMTP id o33mr252786edd.21.1604030660580; Thu, 29 Oct 2020 21:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604030660; cv=none; d=google.com; s=arc-20160816; b=h4B1Xlfl6jw7ngZPLS66w9Uqf9HwhjeAQmCPZTiJvCzK17w+a1r3YYXRsaWxpBV5PW Va6y87a3pMdIu4WNWbUdhRm1nhVZZDaIHez3BI9q2pPEglge+rPiEFs2SDY2ggcAMLKx 1mjorXFrx5CvpQPVvwXBXR1OBrWuCtSzCGXDDKxsLZebmMpMsAXqt1RJsB07BRLw9RV+ UAEOlbiUcKnmrnw7ytg/TTF70GAsqH2ATgLTkFeGtoxiWN4MqUKR5NqcW7gJUrNLUQPA ymzR7IEYqEuKbWtM9qF2rS2Y9J5ji5ozWjwTgEQGAUs8RjCX5w5scLY0UKulZugzAwFc GYCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:dkim-signature:ai-spam-status:dkim-signature; bh=54iImX5QZoiHAeWbDsD0IglDuIrw3ZIzlGWVX5k2IZg=; b=aRpXRrruFvbx5qEIEeP8zlUpBTu5hXzHiPriqlTfycv9zCeYhDPbHboa+2l1am1ZmC hY203u1Bjag+0Q2KKOgW/vnijRDxQUrAMzOD5WE3oSvofV1vEUXktZWwRmRzg3pSFrNT 52Yoq0rklwjLciTVhTComx3t0aHEGcK4B0gC0YP6w6SZjWqyapkxQJtZctn2Bc0EK5hH zYFxIXSTqcgOQuhmbrqvGDEFppm1TsrZjUwlDd9AOTm28nmwuTe0pEA/By/HPOeHMsGV e92RwRMgxWb07vxCmJVUwQ1XlXJgaqejCUtnVWgxtKOYoGKvpUSulumFPGn6yFAhXRXQ G3kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mymailcheap.com header.s=default header.b=LDh34qEA; dkim=fail header.i=@flygoat.com header.s=default header.b=jECxoBGQ; 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=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d59si580802edd.519.2020.10.29.21.03.57; Thu, 29 Oct 2020 21:04:20 -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; dkim=fail header.i=@mymailcheap.com header.s=default header.b=LDh34qEA; dkim=fail header.i=@flygoat.com header.s=default header.b=jECxoBGQ; 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=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725996AbgJ3ECj (ORCPT + 99 others); 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