Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp842255ybc; Fri, 22 Nov 2019 14:10:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxZZcyMxHmz18Xig/UFYt8zVIKl9/1dZz6hW9jK+8hRbYMBRgJCITUjEkhVXlhy9QNpvZVA X-Received: by 2002:a50:d756:: with SMTP id i22mr4042319edj.24.1574460629400; Fri, 22 Nov 2019 14:10:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574460629; cv=none; d=google.com; s=arc-20160816; b=GukvFuJU8GwchONs4igi66vlGVbw4rdinqomULF6UbMogvwCDSqgidibowxYWBWHCR f9Hun+O8M8LZNX0O+TGjdnGh9H0NrOq/4g0N8/LnlK2jyba6sciRLA+XDVHNQnaE+Skz FUwMevL3ztT0K6DnNsWZLhJ8WYmUaU9RKS3fxL0nbBA2u3BvMedPYvZFRB6nCASUR10z 5Z7bA9KAt7oq7uFazwtdvk1TcfhfQFtOY6GRlYczYsZ8FJ5eSRGW1bdgQ0wQCzSKQoUq 0ARtuTOqMjUbV35Dczcyddp8+ID1DFpMZ/YuHjEfGzyb+54ZQSLsFBjntHssuBMhDJQq Nu/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:references:subject:cc:cc:cc :to:from:date:message-id; bh=gYwtUyjhfQJO55CeJjiXNQYOVnbnfsUZpOJ1fNxmnfo=; b=nSvXVID2tKOwX1JhZkv/KF8bYCBFUgQdHfC+xkGxkOMvd/SnL8wxMUG8aBpYpAl/sZ wXrkJBASsT7jU1ZXoYhUttgBu+WO0Pw5LRY4thCNmNKAE71RztMkhE1Vu1Q40y5lDhOk C6KJfUN23ogVn5HgHgSVGZTCQr4y/kCA4tJXV+pfp6rLzk3xHayk4oOMpUQyLk/kXjkP ZCd5P1XpjwSbUqCvj0n3s91uU+mS5ZrXV3hXUKe9vDMFotEvuBTQoQ0JleAfjfE/KbDx dRmpUk4VrIhKTIHiI9ZrFT/zb8ovRLG4fYU6N9mnNMcXARXkKax/Mz4MepuQ6t0mDKjL Lu5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f22si6046195eds.54.2019.11.22.14.10.05; Fri, 22 Nov 2019 14:10:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbfKVWGV (ORCPT + 99 others); Fri, 22 Nov 2019 17:06:21 -0500 Received: from mail-pj1-f67.google.com ([209.85.216.67]:45743 "EHLO mail-pj1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726852AbfKVWGU (ORCPT ); Fri, 22 Nov 2019 17:06:20 -0500 Received: by mail-pj1-f67.google.com with SMTP id m71so3600426pjb.12; Fri, 22 Nov 2019 14:06:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:cc:subject :references:in-reply-to; bh=gYwtUyjhfQJO55CeJjiXNQYOVnbnfsUZpOJ1fNxmnfo=; b=WcvlM2QldpR5RCCPd2G24za8Gm0JxZGPm1Xr5jaKajO37rS1X1G1O86wYSYbuPTM+w OUpRW+txv0rnzVOqwEiPiJy6fNKAz8aPZDOZSio0q+qq+MHMs4NAhkKBu9DUVT3QSNn/ D5pXSFhFiAhAF86jnPFoTTFZhbaX5v3+ADbYz8zERqh9yemwyPiWOiQdRRaBMo82NpxW zuiuP52JF35w9ISOuJZfYplkTDuW/NliGu0H0ZKQT+0VL1z/XRDZ8CCcxTa5NFUITu/Y qDcA4Jf0CPyxuKcbnTBMms8cZquGBYm03CostfP2SjofyNM99Y1dRBTXnhrr642CKdLy hijA== X-Gm-Message-State: APjAAAWdY8UbmOmesyyyrv+IvD+ixHe2404Yw8NT2RcEza8P8HujOzzr m1Puv24byibtP+quU0aJCNc= X-Received: by 2002:a17:90a:1982:: with SMTP id 2mr22282116pji.30.1574460378513; Fri, 22 Nov 2019 14:06:18 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id y6sm8447744pfm.12.2019.11.22.14.06.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2019 14:06:17 -0800 (PST) Message-ID: <5dd85bd9.1c69fb81.55be.599c@mx.google.com> Date: Fri, 22 Nov 2019 14:06:17 -0800 From: Paul Burton To: Zhou Yanjie CC: linux-mips@vger.kernel.org CC: linux-kernel@vger.kernel.org, ralf@linux-mips.org, paulburton@kernel.org, jhogan@kernel.org, paul@crapouillou.net, jiaxun.yang@flygoat.com, gregkh@linuxfoundation.org, malat@debian.org, tglx@linutronix.de, chenhc@lemote.com CC: linux-mips@vger.kernel.org Subject: Re: [PATCH 2/2 v3] MIPS: Ingenic: Disable abandoned HPTLB function. References: <1574173727-123321-3-git-send-email-zhouyanjie@zoho.com> In-Reply-To: <1574173727-123321-3-git-send-email-zhouyanjie@zoho.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Zhou Yanjie wrote: > JZ4760/JZ4770/JZ4775/X1000/X1500 has an abandoned huge page tlb, > this mode is not compatible with the MIPS standard, it will cause > tlbmiss and into an infinite loop (line 21 in the tlb-funcs.S) > when starting the init process. write 0xa9000000 to cp0 register 5 > sel 4 to disable this function to prevent getting stuck. Confirmed > by Ingenic, this operation will not adversely affect processors > without HPTLB function. Applied to mips-next. > commit b02efeb05699 > https://git.kernel.org/mips/c/b02efeb05699 > > Signed-off-by: Zhou Yanjie > Acked-by: Paul Cercueil > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]