From patchwork Wed Apr 12 18:16:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 82619 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp524939vqo; Wed, 12 Apr 2023 11:26:52 -0700 (PDT) X-Google-Smtp-Source: AKy350YzLj1W0Og9EI+t8/T/WxOj/5TpQHGDxBBV/gJy0Qh+sG5veoNbIfNMl4S5fVHtjT0Wotyr X-Received: by 2002:a17:906:d971:b0:92a:11be:1a40 with SMTP id rp17-20020a170906d97100b0092a11be1a40mr3584499ejb.11.1681324012175; Wed, 12 Apr 2023 11:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681324012; cv=none; d=google.com; s=arc-20160816; b=YrWNjGTe6GGF13jLTxMJy2dzT4+C3uTJkIXzW73VGliCBYp+vKJ0wCu6bSt3YpeU3D +8zB7YioZlG7wB9EE/wvnpJSNB4Mtof8ZeVTh0X2JzifygiUm9b7cDA0Ge4E3jcAZ+5e tglFI2FJANRVhAb1XC7dxB6t8JYURlGrHrlDbKtWE5vH7o69Q3zF33d5J0vCO0x0cbtN F2zz2pu/a66SRu72XdoteFGG3+H9vFLEwYBcCEw/wiHQK0+k1WuFJM7RkznojyEODXJO su+xBDJgfaLU7mp2xOx07Jc+TIPWl7hfBbzbMqtlN676WtslhW1CFjFTkQCQk7vQjT55 qffg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LrssHurPM5N8vIL6ydvz7U3hf7mj1eq54keYVOaBZJQ=; b=hlB4mZhivl9lt8+za54MgUo2x1NVHoKsDGvVFJbaxzqheRhr33CnuXOYqEKPtSB2T5 5e3gVTdKro0kEJS6zC+fpMIhf7bL437WYpYp/bcN3Gdne9Aa77ROJBUqY47eJTJ/9ZWD vrrzu00ULBeejeiOryNhX8RIPWgQYj5wV5K5GY+FkEQj19Wy5BM3U5lYJcIge4777wYS rXbR6S58sLzFPyNUOPoPNIgcrOlDl4hN1M7oQz9RUtse8a5cCfBrx+D9T3z+Oo3lA1M2 mRSMeLAgrabYEQINXwAzI5r7W83EEuPq1z0NZAoKTxZOaZ9RV1WzEPvtWNmi/F7Qwsro v39Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=aVWLEmXE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a056402064500b0050489723a25si3246755edx.466.2023.04.12.11.26.26; Wed, 12 Apr 2023 11:26:52 -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=@redhat.com header.s=mimecast20190719 header.b=aVWLEmXE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbjDLSSZ (ORCPT + 99 others); Wed, 12 Apr 2023 14:18:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229546AbjDLSSY (ORCPT ); Wed, 12 Apr 2023 14:18:24 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE30DBA for ; Wed, 12 Apr 2023 11:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681323449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=LrssHurPM5N8vIL6ydvz7U3hf7mj1eq54keYVOaBZJQ=; b=aVWLEmXEr2nCcidJ9EM7N/Cv1lJAVSk0MmlZVRQwfFJFDNvBPOsgbXrCiGAO73dIP7rTsv r1Hz1rUBJ8OIgfFrTmtJm4cQ893H+I3/iHvNopbMZ/JT9Rh/xkl9dIM1MJnHDUZxwe62+3 aaxMJv22sONaXzg8714anINaUksBq6w= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-602-oB_Wy7iINdS4oJYIQQ0djw-1; Wed, 12 Apr 2023 14:17:26 -0400 X-MC-Unique: oB_Wy7iINdS4oJYIQQ0djw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 73D2085530E; Wed, 12 Apr 2023 18:17:26 +0000 (UTC) Received: from omen.home.shazbot.org (unknown [10.22.34.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1B19040B3ED9; Wed, 12 Apr 2023 18:17:26 +0000 (UTC) From: Alex Williamson To: nipun.gupta@amd.com, nikhil.agarwal@amd.com Cc: linux-kernel@vger.kernel.org, alex.williamson@redhat.com Subject: [PATCH] cdx: Allow build with COMPILE_TEST Date: Wed, 12 Apr 2023 12:16:58 -0600 Message-Id: <20230412181658.529415-1-alex.williamson@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762996007309503943?= X-GMAIL-MSGID: =?utf-8?q?1762996007309503943?= Increase compile test coverage. Signed-off-by: Alex Williamson --- drivers/cdx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig index a08958485e31..8e3cca77ec64 100644 --- a/drivers/cdx/Kconfig +++ b/drivers/cdx/Kconfig @@ -7,7 +7,7 @@ config CDX_BUS bool "CDX Bus driver" - depends on OF && ARM64 + depends on OF && (ARM64 || COMPILE_TEST) help Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus exposes Fabric devices which uses composable DMA IP to the