Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp346060rwb; Thu, 12 Jan 2023 21:12:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXtJqz1Q9NnGgDFeezBQt8qzTON/1I5M4WZ5AJHcv/eLrEio1U9D78jYSOxvEcCJedzYkT+u X-Received: by 2002:a17:90a:f404:b0:229:557:8a21 with SMTP id ch4-20020a17090af40400b0022905578a21mr4519677pjb.7.1673586723866; Thu, 12 Jan 2023 21:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673586723; cv=none; d=google.com; s=arc-20160816; b=qbGLQPpAn3cNGPXnmanpgrUfe5L1ao/lBxtsIUt1biedrHVC5nD1baXvqePCMIrznG vhXMkiM/Ua5Fn42/B7NRYud5UZwnE5j0dJDYp1HCsalddotWCBBiEA6A8kSSHTYySGbL PzRWGwGL+smd4z1UAh7lNRii774ojvFAZ9NoKp7bEVJys9Idqf8bhFfNFQ9Eao2vQblQ YQQryyzY7bGkXCKI1deAcIlIflSClSnvMDsSiEAxZhDcs2bfhOxtx3Vrk4M+WKwMVrnL hzLzNlGRvpVE0DwufnWrnhSTO+lVBqUx22RloXlgrMIBkmD78V9rx38LZeClBxpx/K8m IPuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=lPm2cDob64PHi+nW3IeZECmXVT/SwFopaoWwfdNRye0=; b=mA/Bc+x3dQzasfznidVMjdmzwsBVzzNTeTPeM20Q4bDBNCKKkK9JtA32U2SbhfWI1S Z8rFC8H0C4qh0K8qD1kCy8nFJWCSjFsw4xbYdI6ifK5stLvvQCcA4RDQFp3z614NJZsZ jzYUYgzCBlGebfXJzcIPvnRqn5RSGG4lKTLbvksMqnraIWbg7E4ScV7Q6vNJfHWu7Gz/ 8BkjzGnXJ3brcWljPAe1gxL5G0H59tU81lsrLzg3C/Ze4jRnvVfNCQp6pPlbZ8haXe83 gDbxEGsO2jqKR/ORkt4uRHTa7odpmv50WMcBYxL2PtGzHabZxrZ4hFMEnq1gk4EbTic2 H8RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b=BLpRYQgj; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q11-20020a6557cb000000b00491ad1ca2f1si20103668pgr.836.2023.01.12.21.11.54; Thu, 12 Jan 2023 21:12:03 -0800 (PST) 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=@pefoley.com header.s=google header.b=BLpRYQgj; 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 S231429AbjAMEh2 (ORCPT + 52 others); Thu, 12 Jan 2023 23:37:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230413AbjAMEhT (ORCPT ); Thu, 12 Jan 2023 23:37:19 -0500 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDECA1D2 for ; Thu, 12 Jan 2023 20:37:17 -0800 (PST) Received: by mail-qv1-xf30.google.com with SMTP id o17so14128123qvn.4 for ; Thu, 12 Jan 2023 20:37:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pefoley.com; s=google; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=lPm2cDob64PHi+nW3IeZECmXVT/SwFopaoWwfdNRye0=; b=BLpRYQgjOeaSOzpLq9w9Aze82Npz+TR8bofK5jRsT9mhfJ2LbAp3rKHZT8MpUwcWJx clCtjEksgGfakcqxrG3QZC4vDzfZnzxPYBPo5rw5lWh4sTIdVopQ671T9TgwR+h0Z4EC U/zNKX4YnNopUciFbKh1SGt5uYz7Ub1sVPGs8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lPm2cDob64PHi+nW3IeZECmXVT/SwFopaoWwfdNRye0=; b=izj8MTw3LPC4Xm9fMipg6eDs/A9ux2bJXqMK9HtLkfy1SUJwZ53o1Hh8xmXIYYIlVF QjdtnOTHUn2+Z8j/qVYwKgfHCsvYJAMf+EddzDQrlSyuwNzsjI6VH7zGULKfQ6UNYeRR 9NeBuMMllDCw59Coml/Mv9rEhb/AX5mDyuNygyLoHtrjLq640AkdBCRWt5jebg+/Ekul BaDIE1ranwdFMcjo5r3ouLrZM8HN2LqmO/K9xZk52uWzcq69hQb/GAqMTvzhK3lsMk2C sE0lcyOjfT35BtNwSwJkc+TFoKYWCw6wEygIJHZEUgC5vGSoVHhYfqAbVDA7UezorI1O SXGw== X-Gm-Message-State: AFqh2kowa5ND7Ox6r9qP6cwTx2cutBBPf84tWOR7ukMK3FQBrrKXWi6+ 9dRtYvId8grUJA8sbeaEoe/WUQ== X-Received: by 2002:a0c:cdcd:0:b0:532:f87:753c with SMTP id a13-20020a0ccdcd000000b005320f87753cmr43721182qvn.4.1673584636690; Thu, 12 Jan 2023 20:37:16 -0800 (PST) Received: from [192.168.1.3] ([2600:4040:29fb:d300:887b:7eff:fe74:68b2]) by smtp.gmail.com with ESMTPSA id q5-20020a05620a0d8500b006eee3a09ff3sm12087761qkl.69.2023.01.12.20.37.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Jan 2023 20:37:16 -0800 (PST) From: Peter Foley Date: Thu, 12 Jan 2023 23:37:06 -0500 Subject: [PATCH] ata: Don't build PATA_CS5535 on UML MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230112-umide-v1-1-78742026a3f1@pefoley.com> X-B4-Tracking: v=1; b=H4sIAPLfwGMC/x2NQQqAMAwEvyI5WzAVRPyKeKg12hyskqgIxb9bP c7swCZQEiaFrkggdLHyFjNgWYAPLi5keMoMtrJ1hWjNufJEBluP2GAWtYXcjk7JjOKiD1+9Oj1I vmEXmvn+D/rheV6HLd/UcAAAAA== To: Damien Le Moal Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Peter Foley X-Mailer: b4 0.11.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1673584636; l=1936; i=pefoley2@pefoley.com; s=20230111; h=from:subject:message-id; bh=2wIRUjf5hTGwjbx7HQnUhS+/nYxNZeMVIcHB4lIPfKc=; b=fdUZlUPj5Ky5rwzT8s0TyDCN3U6SNivmS/z/aZYkVxKo4o8KhkaJyqXYOoxRVArndWAHSa2oa8+z SVZCKixsCpAwYBm/oCP/ORTmYT8esrrttvb+4EX4iz90pSmUQ75k X-Developer-Key: i=pefoley2@pefoley.com; a=ed25519; pk=DCQqIdN6rHnvfQH58WQiQzJFfGUo1HyWSvdYG8vnO5o= 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 autolearn=ham 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 This driver uses MSR functions that aren't implemented under UML. Avoid building it to prevent tripping up allyesconfig. e.g. /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x3a3): undefined reference to `__tracepoint_read_msr' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x3d2): undefined reference to `__tracepoint_write_msr' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x457): undefined reference to `__tracepoint_write_msr' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x481): undefined reference to `do_trace_write_msr' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x4d5): undefined reference to `do_trace_write_msr' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x4f5): undefined reference to `do_trace_read_msr' /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: pata_cs5535.c:(.text+0x51c): undefined reference to `do_trace_write_msr' Signed-off-by: Peter Foley --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index eceaec33af65..9695c4404e26 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -640,6 +640,7 @@ config PATA_CS5530 config PATA_CS5535 tristate "CS5535 PATA support (Experimental)" depends on PCI && (X86_32 || (X86_64 && COMPILE_TEST)) + depends on !UML help This option enables support for the NatSemi/AMD CS5535 companion chip used with the Geode processor family. --- base-commit: 1b929c02afd37871d5afb9d498426f83432e71c2 change-id: 20230112-umide-18c116111232 Best regards, -- Peter Foley