Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp433302lqi; Thu, 7 Mar 2024 01:21:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOa9tqAbNBb9wMcrmPJXoEH+NWYikRfC1dzadLGG/FM5AbhKFKPE2iYx5eX3+oCYlv5GlXvUXxOuuJ5sddbyb/oM/Oz2yRtYbLu3Yf1g== X-Google-Smtp-Source: AGHT+IG8/Gv1dwGy1NhxmpwsNf1swVm3LAvd3AVvW0aEAiNh0mtQr37ZBnraDWo4kVysoY0Y0KCs X-Received: by 2002:a17:902:704a:b0:1dc:db57:d6e2 with SMTP id h10-20020a170902704a00b001dcdb57d6e2mr6684241plt.69.1709803279421; Thu, 07 Mar 2024 01:21:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709803279; cv=pass; d=google.com; s=arc-20160816; b=oquTNbY7k289KRj5aQy3gheRWyW8bNXUMyCyi/6842/wyJUT2ixIyQQzs5QD9TraAT eTJDRzQWu4c1CiqpaawuAKjEC8/8dW2d5aDWpzN1Iyn07a3UCmME0ZecrhsXyP/fEO5b 2tQAt9rAgum60CGtSq0ZmVnasxORnJM8OfjFQPJkjBsOJ6Hui3Vtq/h10ojMShmlWvJx vCWcNV+68Yppj87vHdvIQo2XMDeBk6QCZxRdlu4/U6UytBzRQqkPp+Ebjq8wXMaQVJS1 2xAIJT8VaCOvyvrwv832372nbwLOsAyeL9PQixGA2Y6wlufxSmz1KHYXBVEtU1/FoesM RTNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=80RTQxeG1HoYvnNvzrKo401rks3qN8X2iKrIw4d9yaQ=; fh=nwIlSCBp3+z1yi2u74al0jZQWy7NWWZopi+G1rGLUdA=; b=aJaiquNhnuVhEqWKZMB+1bhDlkBvenITAU3pTN4K9HBwerlXn7hZbHIYj7omq7RD1R fSfrKhpOOI9sa1zk0Ze0vfK/n2N6prBIQXclC64/pr95nUwizVcpnPzOP4HrhzqZ8m2m OWWQi7pDHcsUPZzn/Jp+t+pMRccAv90zHORAOGauq1rajzG+EAntcXAJPnJeNvS+73RW oO+SVvKbfCIU9eRr2smY6Pjk59puOVdCaCetO2lwLbVizPaU6Sz/i+hoKr0OahWTqx14 VZg8NhFaZ+KZj+n913anb+7RkcsEKew8odI8ZZp5Dky5SwcowJhNeyFV7ZMh1Fj7C7EH cOlA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="kV/mipkr"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-95205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k4-20020a170902d58400b001dc6cf4594esi13957665plh.96.2024.03.07.01.21.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 01:21:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="kV/mipkr"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-95205-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95205-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 169C62877E4 for ; Thu, 7 Mar 2024 09:20:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B58D6657D5; Thu, 7 Mar 2024 09:20:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kV/mipkr" Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A203633FB; Thu, 7 Mar 2024 09:20:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709803207; cv=none; b=ArBgPwg77hDMR41fjH08/lcRUXXMoQOtH9fhNpZyIUjG5d7Msc0b3xjK+pA0RumZkHzTbKsTqgkAgWBgdG8NtYoAurr1uUvVZMjMSa1/nsMgK3/FgGBFG8FePQXLl0Wp8eIMY9iI1Gx/0Jd4oeJvExbBupj8WDnsHWTrpWnvygg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709803207; c=relaxed/simple; bh=4Gs0ALlJoow9J74owFD4al5jtj3RvYpvgtJMBToY1hY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=aVpR+xM69WcYGy8Ruq9lPnIuMuWjVJ5hkbJ0VwOLN/bMQZ2WHxUzBKb0SR5nFOLm1x2Y+WMcQdF8nCpRoPT5Mpy4CULkO7QEHQWFpOBcsdaTazdiAKIrkN7IsHgTxLGME/sZxuEN1vBQa7FyVvTwFbDe7NH3qMbb1aCe+KtQIeg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kV/mipkr; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-51381021af1so376736e87.0; Thu, 07 Mar 2024 01:20:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709803204; x=1710408004; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=80RTQxeG1HoYvnNvzrKo401rks3qN8X2iKrIw4d9yaQ=; b=kV/mipkrJ5hGtmUOqBOilJsp80PTP1Zhbj94lAJVLxiMqJDECww2Ojf9OwJPDODbQm KIZe+hz49wjhUkyF3uORUpvpg+Y+dO0Y9ZiCFP4C3G5Mp+pe7a8yh+bKH5EM9P0OxEi1 XJz1VwXfLYfUy97ZpehHjg0fgNZGzbKCUvje1KHgb1HWvhWMOYbTALP2DXnD7eEOC4X/ 94RwO1gjV64RxPC0igFbk14XJd8OfsF/OOrpU0Qju+3WUM2z+kF66ZK/0A59lS8qiNrA l+GKV5AD7cWx/gbqG0nHqGPkOGyNUipANNjZ18nGJOhaPgjvOuMJ4wTKPaKmuYGbUiGd 1lNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709803204; x=1710408004; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=80RTQxeG1HoYvnNvzrKo401rks3qN8X2iKrIw4d9yaQ=; b=pPnnftxM7ywgT41qh+yVjlYAj5FwHl1GBzdODfN5sc56kNruLMVW/f0gN1LP8XABjb cFYmSS63EpWhgHawirx/stC2L74Or0lWWA1GERpal4gIBSkRn0RAPf3sJXzMByzt2EQm l1DY0eZiCZ5OuT3j9RvruCQoPnbDOqpCXC9c2lYJzS+eeWr6qUI3swlEcArxsCPgwGKI umKwENyGQ/yofR2a+j/qUWbJWbaNV3M3EJZLZPqs2lU9++hs+EkEYn106g+SH2QO+8VL KKPsjBPrItl+ZNrAU1eYIRQSA6awLnExNOKRfP4Xbau3lNnanu8HPhAOhJ53vmFiMYJg njPg== X-Forwarded-Encrypted: i=1; AJvYcCWCb5zDG/qIxMWBNY9DqdR/NW4t3+OIGjvKoEdIc8FX1b1DvOHRAOBZWFq4B7nSjL+FQSwxAH5YDZpcHksvhb6FeFhK4W6v+h2gs3zQZgUYcKPaFW7AGFID3L/G6TbspGoA3ccn4xU+cQ== X-Gm-Message-State: AOJu0Yx3STOP4VRn8H0trZf91HvZrBGO+7BQFl1M/l1gfV6mXgMS1H2/ NJa/eOScDJD+5x1h7e/4aICHjHblOQq03qn98twiK0vQMluxqSOMyQ4V2EX3bUkDQE2r9Z+CB6x 1L49EAroaQ1VrF5CWPGZsSDnIuxA= X-Received: by 2002:ac2:5f87:0:b0:513:6632:2f62 with SMTP id r7-20020ac25f87000000b0051366322f62mr1049502lfe.7.1709803203752; Thu, 07 Mar 2024 01:20:03 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Haibo Xu Date: Thu, 7 Mar 2024 17:19:52 +0800 Message-ID: Subject: Re: [PATCH v2 5/6] ACPI: NUMA: Remove ARCH depends option in ACPI_NUMA Kconfig To: Arnd Bergmann Cc: Haibo Xu , Alison Schofield , Jisheng Zhang , "Rafael J . Wysocki" , Dave Hansen , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , "Conor.Dooley" , guoren , Zong Li , James Morse , linux-riscv@lists.infradead.org, Ard Biesheuvel , Baoquan He , acpica-devel@lists.linux.dev, Robert Moore , linux-acpi@vger.kernel.org, Sami Tolvanen , Greentime Hu , Dan Williams , Len Brown , Albert Ou , Alexandre Ghiti , Charlie Jenkins , Chen Jiahao , Yuntao Wang , Paul Walmsley , =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= , Anup Patel , Tony Luck , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Samuel Holland , Evan Green , Palmer Dabbelt , Andrew Jones Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 7, 2024 at 4:44=E2=80=AFPM Arnd Bergmann wrote: > > On Thu, Mar 7, 2024, at 09:47, Haibo Xu wrote: > > x86/arm64/loongarch would select ACPI_NUMA by default and riscv > > would do the same thing, so the dependency is no longer needed > > since these are the four architectures that support ACPI. > > > > Suggested-by: Arnd Bergmann > > Suggested-by: Sunil V L > > Signed-off-by: Haibo Xu > > --- > > drivers/acpi/numa/Kconfig | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/acpi/numa/Kconfig b/drivers/acpi/numa/Kconfig > > index 849c2bd820b9..2bf47ad1ec9b 100644 > > --- a/drivers/acpi/numa/Kconfig > > +++ b/drivers/acpi/numa/Kconfig > > @@ -2,7 +2,6 @@ > > config ACPI_NUMA > > bool "NUMA support" > > depends on NUMA > > - depends on (X86 || ARM64 || LOONGARCH) > > default y if ARM64 > > Can we remove the prompt as well and make this a > hidden option? I think this is now always selected > when it can be used anyway. > > If we make it > > def_bool NUMA && !X86 > > then the select statements except for the X86_64_ACPI_NUMA > can also go away. > Good idea! Shall we include the ACPI in the def_bool definition? > Arnd