Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3286936pxk; Mon, 21 Sep 2020 09:44:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNkytiTckVcg8mwBGitOzlJtjj/B/bxhmIcBOojyzSeFeNmsclF0xvN/xs73i0puav3OtO X-Received: by 2002:a17:906:91d3:: with SMTP id b19mr306456ejx.235.1600706644701; Mon, 21 Sep 2020 09:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600706644; cv=none; d=google.com; s=arc-20160816; b=SWchvJS5PONlMwzuTGLV86bo6cf5Fl+F5JmNdbbaV83K9zCvW6/IWg/oEDlfH9ATgC wLFwaZlu5rs8ruTYraCxpPR4LKnx/D37/XRI56Kn+UPUYDQnHR1KoX24Y2xbdvFRLqER 9c7f96ElwUqDKPcSJ5CFCyvDyzsoY5k/pA7IpCqQmfl/cwiT8zY8BvhseP2W9PzJK61a QXoZiU6LxRTgJOiEzprYRT3PNRr/iAsh6opqQ16HEXtm42lDyM0F+6/hOWrh9UE6E6d2 y4nx9cua3X6NGMzC/Fh1cHYr7vtA4KN6yahVkaXnvBSrANPG/ImwwFdng46mIlDfh7Wy zKQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hWBb2bgDyGeFvhF4Cn2+/pudEoJ1QQl7dbPR/osQUaI=; b=p/Z7MnuA4rGAIseeAC5vqUck+CAT2jJO3rWngn54j1gKpdPgh9AAKQDgwbtruqhb8U Ye47o/nd/U6oyK02h7iSmllZ7cS93msTkHb0X7PJSVoztxzDez8uumaZTqZ2V05c72+q Ilmf1JGtYQzbnM65HRSNo55IawLJSU7oLZB47avYeLqiTtrypDVFrwrlR7VySgBBLy0I TyII0iGH268Z2K0xVvWBCWDEdcKnMQ3FbTEDWBOG5KGfjFXmWn7KS0OY5XeZMG76nxLJ rQDM9xOSvIlf1ggXDEo8rhgm9FmiHq3aw0zaNLdLK58FI7dpp37ofSv6OzCmlGIY9bAW gKog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mrSUpLtp; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z13si8449599edx.167.2020.09.21.09.43.34; Mon, 21 Sep 2020 09:44:04 -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=pass header.i=@kernel.org header.s=default header.b=mrSUpLtp; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728775AbgIUQjv (ORCPT + 99 others); Mon, 21 Sep 2020 12:39:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:41996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728881AbgIUQjp (ORCPT ); Mon, 21 Sep 2020 12:39:45 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EEF41206DC; Mon, 21 Sep 2020 16:39:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600706385; bh=FZM8Vgi0E2GJqrVyTjlJqYUYBD/goa7fKzGFyyL0sKo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mrSUpLtp6bI5xRSf+6R46DhU54z/oxQQ6kx+KVkz9LT8bRznZHnqFB18+Ub1gpzSc kXn20f94U0b7ibSEe2ooHkXgsR0LiWnWcCOWzi+2c44TOCvP7KGs5mEg9sdrP7w5nM oKxQAecizjD4ezPA39O1GFcsFtGXqxKCBB7Wj/MI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 4.14 78/94] MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT Date: Mon, 21 Sep 2020 18:28:05 +0200 Message-Id: <20200921162039.105517490@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200921162035.541285330@linuxfoundation.org> References: <20200921162035.541285330@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Bogendoerfer [ Upstream commit 564c836fd945a94b5dd46597d6b7adb464092650 ] Commit 930beb5ac09a ("MIPS: introduce MIPS_L1_CACHE_SHIFT_") forgot to select the correct MIPS_L1_CACHE_SHIFT for SNI RM. This breaks non coherent DMA because of a wrong allocation alignment. Fixes: 930beb5ac09a ("MIPS: introduce MIPS_L1_CACHE_SHIFT_") Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 7e267d657c561..49c540790fd2d 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -856,6 +856,7 @@ config SNI_RM select I8253 select I8259 select ISA + select MIPS_L1_CACHE_SHIFT_6 select SWAP_IO_SPACE if CPU_BIG_ENDIAN select SYS_HAS_CPU_R4X00 select SYS_HAS_CPU_R5000 -- 2.25.1