Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3617455pxb; Mon, 24 Jan 2022 13:37:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJxr87gkpf930UMHd02Hswxv2tXxdwdaLuX3fJioFa/TZ2EEB21+rlpY6bX85UJDaxsEmUbL X-Received: by 2002:a17:902:d4ca:b0:14b:5c6d:fc16 with SMTP id o10-20020a170902d4ca00b0014b5c6dfc16mr4551586plg.24.1643060241516; Mon, 24 Jan 2022 13:37:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643060241; cv=none; d=google.com; s=arc-20160816; b=JP0wnHogcuUhrscU4ah+LqN4w+T28dO7bv9tm8mor5myOj3I1+Ek4pAfSjN1fZfyBU iLwWXvx0U1yeTEBelzDkIny+MRiA08q+xBDH153xaoAx5gD2FZ5QddKBs6BPIcoEaR2A XPh94FlIdeA78lxMS1gn7w+hlIUnMJSjsfLfdiLd6ofzzjUZCMDr3/+jf8BFceniDFZ/ sUDduswGxJUlz5hPU/TmVtqIPl3siu0Xhx8GPAs8ZDHhHC3iD0jtCNvCdiLRA5KViRp5 I5KZwEZaBK5BNlN6mtO9+y3RjwqMz3lbpcrCpKsN2HMEsPU8iDrD7vGBRQ/a9ne6zrRy ahjg== 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=/GEuTZWyaoHLHoguJ2hY3Ppq7QojO197AEUme0rr9D0=; b=OyMbVosLKIeHSLr0e3krls6/Rp7bLY3wxiopoaFhtwTfjI5OPbBc6m4y/QN/OQCtEY P3rcCA7YJ32GSHkTQz3sFTLifnxmlYNGO4UCnj3OJh0DTUL1g0zhpzkTT7aNCDK/g2yG 4FuyHKCkXlqZqyVFTHqcOMPzsnGAonUmW39MMoJ3CUHWXZqD6XNXeIS22DiAd4vNFUtg 4PdKQXzy0GTL6ybSAqlwkL7XMT+1DaYNCZloBT1WPL83gpgtatRWOr8tMdgJbefZ99lC nNeSOXQ20YZxQ+8ZumHoB3yVPT5Ft75IAGGRRc7Cdq9v4/s9RiFsIVY29blmucUi+K2l qNbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZsHhuGoZ; 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=pass (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 y1si13754620pll.463.2022.01.24.13.37.09; Mon, 24 Jan 2022 13:37:21 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=ZsHhuGoZ; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1448041AbiAXVLz (ORCPT + 99 others); Mon, 24 Jan 2022 16:11:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1390180AbiAXUpD (ORCPT ); Mon, 24 Jan 2022 15:45:03 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0351C0617BE; Mon, 24 Jan 2022 11:54:47 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9095461012; Mon, 24 Jan 2022 19:54:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71D7AC340E5; Mon, 24 Jan 2022 19:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643054087; bh=xQDm7FZPXcXZlrZTnKkz6kxd0O0POjHE1l9GdUOFf8Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZsHhuGoZqcsWkJRtw6P+BOIGo4cCJSHuxwLx/npvS4z2xH02Jt1OJ+fZQ853VXALa OBx3MxDFdVL9KAFODtW2MXjGpq9BM+fvzE/maNLN0C5khxFI2JLg6jklVTjNpVgoGr F1dkJQ6UV8EzRyNUnAcJzJ5L6UvJbLhvL4uvVzR8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lukas Bulwahn , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.10 274/563] mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support Date: Mon, 24 Jan 2022 19:40:39 +0100 Message-Id: <20220124184033.921285032@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184024.407936072@linuxfoundation.org> References: <20220124184024.407936072@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: Lukas Bulwahn [ Upstream commit fd4eb90b164442cb1e9909f7845e12a0835ac699 ] Commit ab7c01fdc3cf ("mips: Add MIPS Release 5 support") adds the two configs CPU_MIPS32_R5 and CPU_MIPS64_R5, which depend on the corresponding SYS_HAS_CPU_MIPS32_R5 and SYS_HAS_CPU_MIPS64_R5, respectively. The config SYS_HAS_CPU_MIPS32_R5 was already introduced with commit c5b367835cfc ("MIPS: Add support for XPA."); the config SYS_HAS_CPU_MIPS64_R5, however, was never introduced. Hence, ./scripts/checkkconfigsymbols.py warns: SYS_HAS_CPU_MIPS64_R5 Referencing files: arch/mips/Kconfig, arch/mips/include/asm/cpu-type.h Add the definition for config SYS_HAS_CPU_MIPS64_R5 under the assumption that SYS_HAS_CPU_MIPS64_R5 follows the same pattern as the existing SYS_HAS_CPU_MIPS32_R5 and SYS_HAS_CPU_MIPS64_R6. Fixes: ab7c01fdc3cf ("mips: Add MIPS Release 5 support") Signed-off-by: Lukas Bulwahn Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 23d756fe0fd6c..db8fe5d7a2377 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1985,6 +1985,10 @@ config SYS_HAS_CPU_MIPS64_R1 config SYS_HAS_CPU_MIPS64_R2 bool +config SYS_HAS_CPU_MIPS64_R5 + bool + select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT + config SYS_HAS_CPU_MIPS64_R6 bool select ARCH_HAS_SYNC_DMA_FOR_CPU if DMA_NONCOHERENT -- 2.34.1