Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2708175lqz; Wed, 3 Apr 2024 06:31:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXi/16t1Gp1vkr8ASDE4fyfwEZ1fVE96krtUndt83FbYjuH7vmib2TWGeMBqLc80J+G/jNI+acrpTaE6O890McDykwo8+MaaWATwpGV7w== X-Google-Smtp-Source: AGHT+IFu23+EE+EiSH603m+pWKfESL2jFz7luYAOHbrJijNczB21M2NnQfCGolkuJpD18D7/DJa+ X-Received: by 2002:a5d:8e06:0:b0:7d3:3728:c976 with SMTP id e6-20020a5d8e06000000b007d33728c976mr5069067iod.5.1712151110785; Wed, 03 Apr 2024 06:31:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712151110; cv=pass; d=google.com; s=arc-20160816; b=p6UtLy5lGqGUsMVDA+QusjvumeYFp6D36Ctm/NeocAZKjRhNOCOtAv9ivdiaCJfD94 nveXJNykZCDZe4sTW4r//vEUbOs5QImX8eD+Ah1eazICiQ+a5tCem36imulN9Y2Em6iZ vMpKK9Bdz/2hHhxtkiXJXnrRAnjNSTrFPS6I/AWJdNmk+INqceLXSYgQpnHMrimVieht s7aaHIemj/yrHzq+gFE9dmRORhWmDwKmp3Wq/b7edhYcfIdjthT8WPi/D9jlPt2yAZIr Sa/yM0nwB1jsA5lPLZXoulnZlSQVOnyKB8Mc8fVQJFnINq/fhhllfgVTceCaWKEe3Pwd 6rmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=yrZpHJEKaPlUVuMcwji6u6JJ4veOeL1b0Jghsa6Edw0=; fh=BNWEIbMu1aGCTtsnoySx3YNRdEADUwFdEVoRcgIPhnA=; b=dno48Sy+KfxZxfLaQ1PTjdO3HG74f3SjJ2f9u+Im6R86wKRbNRZ6MPdTtaj2oqOlqt embj7mr0DEr6+6js5QLoqXx7xwxG2I1pF7+87nHUe7EAwX1D5bLd2T+Fqpzh8rZDBEh+ 5ZUL6AOs+tVcC+f2NmscfQKIOAhL+zFRbxJpBGHMldlLgOF4qa+sUAdln5+HXLEXRcl2 Sr3/c/FPY5IehfUCx8jZxpI2M2rl2qSFdYMzWKuU7Yb0Vn7Wf0Rznrl+7HzYsSME07CA bzzntgvmppGayUKuDIHl7InaNAzXAAiNB7PNjrC5kyPdeeBCGtIIC21ZMUIFL0fVzT6S +UkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=FmKvGb8a; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-129827-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id s70-20020a637749000000b005dc8372021bsi13597865pgc.464.2024.04.03.06.31.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 06:31:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129827-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=FmKvGb8a; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-129827-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129827-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5707829083A for ; Wed, 3 Apr 2024 13:27:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1C479147C90; Wed, 3 Apr 2024 13:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="FmKvGb8a" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E3C5146D4B; Wed, 3 Apr 2024 13:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712150700; cv=none; b=NbjBEYfqh5uHNz4fI59wFXQLeaFqEtkWG8qJSnQlkqepxW6771cClfnNMMygwu38RHp2ryp94Gt+kiP3s/u8LNEliwqJ+rOr7hjTGZmvIZAh2jCmnPJa2fa90tmv+x1SNRNHdYAOmg25HgaD22LuRoeDJHtb6ya5zI4L91Mx848= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712150700; c=relaxed/simple; bh=sG4ZBcx0nL6tsRIBWxpVJVKzWvn4LPKpsx4c7naEXqw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=rIPiUUhllFSGF9FCzjUEGJc9SGzMtWCAWX7qNrSfltjNw8iYgZ0rGINiPVEPKB6R2seJESXGqs5aiVEOi/OX+G+ji3/N38/Tirw2z7kEvka4lHvDA2TNxAYqCX6pnUSzE/Mmc9jQwzc4HO3GHfUlXRqCA96H5hzAQR/bu28lzCE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=FmKvGb8a; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 433CqIf2013793; Wed, 3 Apr 2024 13:24:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=yrZpHJEKaPlUVuMcwji6u6JJ4veOeL1b0Jghsa6Edw0=; b=FmKvGb8aLWvt3ceuVQ8wVUA9bI2uN0dcpVRGTYl/7b3FPusoYM8xYxSzPj7vGjHKLEJM hnZY8qdRPpz8hurrRA4LIVj5QyGggkvNEUV6q5o2MgFricXeZs/9cUWYOVSlqX2V+Axc tssNvxNKoVWa2acwvkDK0wV+5Ow2IbP+Q3loExf3DEfVKEN8EkTme7udIntjQOHvjcuq JHil8d8qxHh2iAYdJXjKtlaUjIxMNjlpH+8h0zO1Idht+S0f8muhGmvS2Lw3qWhP2OFX BdHD2PuDQ8QBh7AXOrvQQVivpRAZe0rkWPLbAYoHHdbx+DU7ZCyuwQgfbOSMMsic9ijM jA== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3x97gd03as-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 13:24:54 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 433AuqVI008468; Wed, 3 Apr 2024 13:24:53 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3x6w2u5rf0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 13:24:53 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 433DOm6f30278308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Apr 2024 13:24:50 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 03E5F20043; Wed, 3 Apr 2024 13:24:48 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CCD1D2004F; Wed, 3 Apr 2024 13:24:47 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 3 Apr 2024 13:24:47 +0000 (GMT) From: Niklas Schnelle To: Brian Cain Cc: linux-hexagon@vger.kernel.org, Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org, Niklas Schnelle Subject: [PATCH 1/1] hexagon: Don't select GENERIC_IOMAP without HAS_IOPORT support Date: Wed, 3 Apr 2024 15:24:47 +0200 Message-Id: <20240403132447.719833-2-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240403132447.719833-1-schnelle@linux.ibm.com> References: <20240403132447.719833-1-schnelle@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: rHzvEC_PxiKfMB3xuTNfm_hHIM6VY0s3 X-Proofpoint-GUID: rHzvEC_PxiKfMB3xuTNfm_hHIM6VY0s3 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-03_12,2024-04-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 phishscore=0 mlxscore=0 adultscore=0 suspectscore=0 clxscore=1011 mlxlogscore=634 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2403210000 definitions=main-2404030092 In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at compile time. As hexagon does not support I/O port access it also the GENERIC_IOMAP mechanism of dynamically choosing between I/O port and MMIO access doesn't work so don't select it. Co-developed-by: Arnd Bergmann Signed-off-by: Arnd Bergmann Signed-off-by: Niklas Schnelle --- arch/hexagon/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig index e233b5efa276..5ea1bf4b7d4f 100644 --- a/arch/hexagon/Kconfig +++ b/arch/hexagon/Kconfig @@ -31,7 +31,6 @@ config HEXAGON select HAVE_ARCH_TRACEHOOK select NEED_SG_DMA_LENGTH select NO_IOPORT_MAP - select GENERIC_IOMAP select GENERIC_IOREMAP select GENERIC_SMP_IDLE_THREAD select STACKTRACE_SUPPORT -- 2.40.1