From patchwork Mon May 15 05:49:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil V L X-Patchwork-Id: 93859 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6690700vqo; Sun, 14 May 2023 22:58:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5UtHPFqdu9aXaue41zd2xDjd+DpXU8OTuBd+fSQPTNYXrWYh5AmJ2IkHAblzTAGLy9XuBp X-Received: by 2002:a05:6a00:1996:b0:649:3722:2d72 with SMTP id d22-20020a056a00199600b0064937222d72mr19855768pfl.19.1684130339355; Sun, 14 May 2023 22:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684130339; cv=none; d=google.com; s=arc-20160816; b=vFU+h0aRXHgLQvVeAEw4sGIl+tTgqXUqk5vqRuPP4Tws3LHNyLc0+9nrL1h8NJkFS4 e+yG3S59eDUTD60oZPGUphmEBewOIC8zb46LkONsgnEPLIzaFGDElCpNPbcjSCoeu0iZ RdUMDpLPPO1LCR7HdSen44dPQVOhJvl/38TyYmgiLs0n3r3LUTvS1l8F3Tn9cYCev1nd cEXRReL9qD7E5Vx8kdWdaQrv2OhDnv5WtzDPbxdkEu+hfvP6OeOEagA2qi3OI5rVLOsc UtFF7cFRmV0lUlvehaU13ySrH8uwJrm4j7BvkZEcDvrajxEmzNFFnIRd/xmOh7S16Xkj 7HXg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/iGXLwFtJb/ikFg1cYTajKxo15m1ntUjHJP3AtJxPHQ=; b=y/Z5Q0dT9S+/yDyGQeSJPslqeqLe2mCqBBNcMN+gMoFdgz0/FMJJlIMjwivZp/76lc ykt03PTtqM7Yt+BWJZnkJdB4JP5zyhojishsDFs+diX0zj7RJ0VVMZFr/OnMSArtnGEp 6u3hO8Uy0DcZlGeVV2Q1o5o9/U0b6qwzerVhuD5KeAhhCDooFgR1vWKLkit2G3ZzwVdP ez53z6J4IiNLqqHckc30kE6mPwnCGzmbhW2LtI1NJDj82A1sokldN9eeAhBBWUNV1IS5 XrH5rijW+24O1rG4GlU7JpoyiwhBn43G8RCxnkhGmv94SIRulP/qxHP/FcsitYCH990y EOmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=dzjo8Foj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h14-20020a056a00000e00b00640d9c06df3si11784517pfk.329.2023.05.14.22.58.46; Sun, 14 May 2023 22:58:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=dzjo8Foj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234611AbjEOFuQ (ORCPT + 99 others); Mon, 15 May 2023 01:50:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238203AbjEOFuI (ORCPT ); Mon, 15 May 2023 01:50:08 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF332684 for ; Sun, 14 May 2023 22:49:51 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-53033a0b473so5856022a12.0 for ; Sun, 14 May 2023 22:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1684129791; x=1686721791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/iGXLwFtJb/ikFg1cYTajKxo15m1ntUjHJP3AtJxPHQ=; b=dzjo8FojeRcnufXLfXC0KBxuYEA22LD3hfHOwXg4ZDuLKLv0BrqZuH8SGOB++jp5uO wzKiYKHcGFS22nfktsiZ/0soliO+6KwkV1F/CT4cSacQXjZNHJvQslYLfkfOySySRtSC 8UjaZJDHoN+NS64WsDBJKuPA3FJoVOmbNNpbeSntaVz+MYmRbJtjWSbb0awzzHpNTzQM iMrORsenLXTKP1MfGL3i50980w+juwmbTsihGPxC1TFAomikj8sy7z3tZ5zOxuVobKLf PO/dJlkFK4Nme80wJtwvZuMrtkTbpTOttq+0KOfxO/f5tg65WVxizgRj349mCeC4zcqw YAGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684129791; x=1686721791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/iGXLwFtJb/ikFg1cYTajKxo15m1ntUjHJP3AtJxPHQ=; b=SMevbhdO+Yw0pz+EljZDTTLecsQ85h78esrMcy35Lrr3FXH2d6xbnXck+0At5kVmkp yWiu8n+AzFav2vPDNtgCh6U8yQbrkyX1hjcM6eEW1KArokLoahx0NXA5tbGuXiGGdazZ K3haEBeX8a7xQjY9UuZj3OSc4vxGgmViqYfGt8Pq2NPlenIGH1I6i+mVxscOh/m1yiDv DABcQDtMHX7p20VWyTdc9kjfoVDALbxO9d23mTIHCmnG7gx27VDBN3+7fcF9yYavk1pT YoCdmJ79875d/RTrkgv3pvVhQG73pThG2eZpUYGnYUYK28RmgsBLY9RJtCIy31GKAPus xEwQ== X-Gm-Message-State: AC+VfDxv0eMOKW12cLojY+PU3TNZMeAVan11hFxuBV3+EQGgZ8UqXPMk NnxKZ4pCGApDYXSc6dJrtgIdxA== X-Received: by 2002:a17:902:e5cf:b0:1ad:e3a8:3bf with SMTP id u15-20020a170902e5cf00b001ade3a803bfmr12750021plf.21.1684129790858; Sun, 14 May 2023 22:49:50 -0700 (PDT) Received: from localhost.localdomain ([106.51.191.118]) by smtp.gmail.com with ESMTPSA id f10-20020a17090274ca00b001ab28f620d0sm12423277plt.290.2023.05.14.22.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 May 2023 22:49:50 -0700 (PDT) From: Sunil V L To: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-crypto@vger.kernel.org, platform-driver-x86@vger.kernel.org, llvm@lists.linux.dev Cc: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Sunil V L , Daniel Lezcano , Thomas Gleixner , Weili Qian , Zhou Wang , Herbert Xu , "David S . Miller" , Marc Zyngier , Maximilian Luz , Hans de Goede , Mark Gross , Nathan Chancellor , Nick Desaulniers , Tom Rix Subject: [PATCH V6 02/21] platform/surface: Disable for RISC-V Date: Mon, 15 May 2023 11:19:09 +0530 Message-Id: <20230515054928.2079268-3-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230515054928.2079268-1-sunilvl@ventanamicro.com> References: <20230515054928.2079268-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765938655182216861?= X-GMAIL-MSGID: =?utf-8?q?1765938655182216861?= With CONFIG_ACPI enabled for RISC-V, this driver gets enabled in allmodconfig build. However, RISC-V doesn't support sub-word atomics which is used by this driver and hence allmodconfig build will fail. There is currently no plan to support this driver for RISC-V. So, disable this driver for RISC-V even when ACPI is enabled. Signed-off-by: Sunil V L Acked-by: Maximilian Luz --- drivers/platform/surface/aggregator/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/surface/aggregator/Kconfig b/drivers/platform/surface/aggregator/Kconfig index c114f9dd5fe1..88afc38ffdc5 100644 --- a/drivers/platform/surface/aggregator/Kconfig +++ b/drivers/platform/surface/aggregator/Kconfig @@ -4,7 +4,7 @@ menuconfig SURFACE_AGGREGATOR tristate "Microsoft Surface System Aggregator Module Subsystem and Drivers" depends on SERIAL_DEV_BUS - depends on ACPI + depends on ACPI && !RISCV select CRC_CCITT help The Surface System Aggregator Module (Surface SAM or SSAM) is an