From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Lendacky Subject: Re: linux-next: build failure after merge of the crypto tree Date: Thu, 24 Jul 2014 08:37:36 -0500 Message-ID: <53D10C20.3020101@amd.com> References: <20140724130801.3dce9bb7@canb.auug.org.au> <53D0B005.8050400@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bn1blp0182.outbound.protection.outlook.com ([207.46.163.182]:1905 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756834AbaGXNhx (ORCPT ); Thu, 24 Jul 2014 09:37:53 -0400 In-Reply-To: <53D0B005.8050400@infradead.org> Sender: linux-next-owner@vger.kernel.org List-ID: To: Randy Dunlap , Stephen Rothwell , Herbert Xu Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org On 07/24/2014 02:04 AM, Randy Dunlap wrote: > On 07/23/2014 08:08 PM, Stephen Rothwell wrote: >> Hi Herbert, >> >> After merging the crypto tree, today's linux-next build (powerpc >> ppc64_defconfig) produced these messages: >> >> fs/sysfs/Kconfig:1:error: recursive dependency detected! >> fs/sysfs/Kconfig:1: symbol SYSFS is selected by AT91_ADC >> drivers/iio/adc/Kconfig:110: symbol AT91_ADC depends on IIO >> drivers/iio/Kconfig:5: symbol IIO is selected by RTC_DRV_HID_SENSOR_TIME >> drivers/rtc/Kconfig:1370: symbol RTC_DRV_HID_SENSOR_TIME depends on USB_HID >> drivers/hid/usbhid/Kconfig:4: symbol USB_HID depends on USB >> drivers/usb/Kconfig:41: symbol USB is selected by MOUSE_APPLETOUCH > > Don't know if it will help, but we > aren't supposed to use 'select' for subsystems, like USB above. > >> drivers/input/mouse/Kconfig:162: symbol MOUSE_APPLETOUCH depends on INPUT >> drivers/input/Kconfig:8: symbol INPUT is selected by VT > > That one ^^^ is also questionable. > >> drivers/tty/Kconfig:12: symbol VT is selected by FB_STI >> drivers/video/fbdev/Kconfig:652: symbol FB_STI depends on FB >> drivers/video/fbdev/Kconfig:5: symbol FB is selected by DRM_KMS_FB_HELPER >> drivers/gpu/drm/Kconfig:39: symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER >> drivers/gpu/drm/Kconfig:74: symbol DRM_KMS_CMA_HELPER is selected by DRM_TILCDC >> drivers/gpu/drm/tilcdc/Kconfig:1: symbol DRM_TILCDC depends on OF >> drivers/of/Kconfig:4: symbol OF is selected by CRYPTO_DEV_CCP_DD >> drivers/crypto/ccp/Kconfig:1: symbol CRYPTO_DEV_CCP_DD depends on CRYPTO >> crypto/Kconfig:15: symbol CRYPTO is selected by IP_SCTP > > That one ^^^ could be questionable... > >> net/sctp/Kconfig:5: symbol IP_SCTP is selected by DLM >> fs/dlm/Kconfig:1: symbol DLM depends on SYSFS >> >> The x86_64 allmodconfig build produced these: >> >> scripts/kconfig/conf --allmodconfig Kconfig >> drivers/usb/Kconfig:41:error: recursive dependency detected! >> drivers/usb/Kconfig:41: symbol USB is selected by MOUSE_APPLETOUCH >> drivers/input/mouse/Kconfig:162: symbol MOUSE_APPLETOUCH depends on INPUT >> drivers/input/Kconfig:8: symbol INPUT is selected by VT >> drivers/tty/Kconfig:12: symbol VT is selected by FB_STI >> drivers/video/fbdev/Kconfig:652: symbol FB_STI depends on FB >> drivers/video/fbdev/Kconfig:5: symbol FB is selected by DRM_KMS_FB_HELPER >> drivers/gpu/drm/Kconfig:39: symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER >> drivers/gpu/drm/Kconfig:74: symbol DRM_KMS_CMA_HELPER is selected by DRM_TILCDC >> drivers/gpu/drm/tilcdc/Kconfig:1: symbol DRM_TILCDC depends on OF >> drivers/of/Kconfig:4: symbol OF is selected by CRYPTO_DEV_CCP_DD >> drivers/crypto/ccp/Kconfig:1: symbol CRYPTO_DEV_CCP_DD depends on CRYPTO I submitted a patch to Herbert to remove the "select OF if ARM64" that caused this. He applied it early this morning. OF is selected by ARM64 so it wasn't really needed. I'm surprised that this error occurs when the select is protected by an "if ARM64" and none of these builds is ARCH=arm64. Thanks, Tom >> crypto/Kconfig:15: symbol CRYPTO is selected by IP_SCTP >> net/sctp/Kconfig:5: symbol IP_SCTP is selected by DLM >> fs/dlm/Kconfig:1: symbol DLM depends on SYSFS >> fs/sysfs/Kconfig:1: symbol SYSFS is selected by AT91_ADC >> drivers/iio/adc/Kconfig:110: symbol AT91_ADC depends on IIO >> drivers/iio/Kconfig:5: symbol IIO is selected by RTC_DRV_HID_SENSOR_TIME >> drivers/rtc/Kconfig:1370: symbol RTC_DRV_HID_SENSOR_TIME depends on USB_HID >> drivers/hid/usbhid/Kconfig:4: symbol USB_HID depends on USB >> >> And then the arm multi_v7_defconfig build produced these: >> >> drivers/usb/Kconfig:41:error: recursive dependency detected! >> drivers/usb/Kconfig:41: symbol USB is selected by MOUSE_APPLETOUCH >> drivers/input/mouse/Kconfig:162: symbol MOUSE_APPLETOUCH depends on INPUT >> drivers/input/Kconfig:8: symbol INPUT is selected by VT >> drivers/tty/Kconfig:12: symbol VT is selected by FB_STI >> drivers/video/fbdev/Kconfig:652: symbol FB_STI depends on FB >> drivers/video/fbdev/Kconfig:5: symbol FB is selected by DRM_KMS_FB_HELPER >> drivers/gpu/drm/Kconfig:39: symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER >> drivers/gpu/drm/Kconfig:74: symbol DRM_KMS_CMA_HELPER is selected by DRM_TILCDC >> drivers/gpu/drm/tilcdc/Kconfig:1: symbol DRM_TILCDC depends on OF >> drivers/of/Kconfig:4: symbol OF is selected by CRYPTO_DEV_CCP_DD >> drivers/crypto/ccp/Kconfig:1: symbol CRYPTO_DEV_CCP_DD depends on CRYPTO >> crypto/Kconfig:15: symbol CRYPTO is selected by IP_SCTP >> net/sctp/Kconfig:5: symbol IP_SCTP is selected by DLM >> fs/dlm/Kconfig:1: symbol DLM depends on SYSFS >> fs/sysfs/Kconfig:1: symbol SYSFS is selected by AT91_ADC >> drivers/iio/adc/Kconfig:110: symbol AT91_ADC depends on IIO >> drivers/iio/Kconfig:5: symbol IIO is selected by RTC_DRV_HID_SENSOR_TIME >> drivers/rtc/Kconfig:1370: symbol RTC_DRV_HID_SENSOR_TIME depends on USB_HID >> drivers/hid/usbhid/Kconfig:4: symbol USB_HID depends on USB >> # >> # configuration written to .config >> # >> WITHOUT_CCACHE: >> WITHOUT_DISTCC: >> ARCH=arm >> CCVER=4.9.0 >> drivers/usb/Kconfig:41:error: recursive dependency detected! >> drivers/usb/Kconfig:41: symbol USB is selected by MOUSE_APPLETOUCH >> drivers/input/mouse/Kconfig:162: symbol MOUSE_APPLETOUCH depends on INPUT >> drivers/input/Kconfig:8: symbol INPUT is selected by VT >> drivers/tty/Kconfig:12: symbol VT is selected by FB_STI >> drivers/video/fbdev/Kconfig:652: symbol FB_STI depends on FB >> drivers/video/fbdev/Kconfig:5: symbol FB is selected by DRM_KMS_FB_HELPER >> drivers/gpu/drm/Kconfig:39: symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER >> drivers/gpu/drm/Kconfig:74: symbol DRM_KMS_CMA_HELPER is selected by DRM_TILCDC >> drivers/gpu/drm/tilcdc/Kconfig:1: symbol DRM_TILCDC depends on OF >> drivers/of/Kconfig:4: symbol OF is selected by CRYPTO_DEV_CCP_DD >> drivers/crypto/ccp/Kconfig:1: symbol CRYPTO_DEV_CCP_DD depends on CRYPTO >> crypto/Kconfig:15: symbol CRYPTO is selected by IP_SCTP >> net/sctp/Kconfig:5: symbol IP_SCTP is selected by DLM >> fs/dlm/Kconfig:1: symbol DLM depends on SYSFS >> fs/sysfs/Kconfig:1: symbol SYSFS is selected by AT91_ADC >> drivers/iio/adc/Kconfig:110: symbol AT91_ADC depends on IIO >> drivers/iio/Kconfig:5: symbol IIO is selected by RTC_DRV_HID_SENSOR_TIME >> drivers/rtc/Kconfig:1370: symbol RTC_DRV_HID_SENSOR_TIME depends on USB_HID >> drivers/hid/usbhid/Kconfig:4: symbol USB_HID depends on USB >> * >> * Restart config... >> * >> * >> * USB HID Boot Protocol drivers >> * >> USB HIDBP Keyboard (simple Boot) support (USB_KBD) [N/m/y/?] (NEW) aborted! >> >> Console input/output is redirected. Run 'make oldconfig' to update configuration. >> >> >> I am not sure exactly what caused all this, but it is probably commit >> 126ae9adc1ec ("crypto: ccp - Base AXI DMA cache settings on device >> tree"). >> >> I have used the version of the crypto tree from next-20140723 for today. >> > >