From patchwork Mon Jun 8 12:21:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 6564471 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8CCC89F2F4 for ; Mon, 8 Jun 2015 12:21:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 809A620531 for ; Mon, 8 Jun 2015 12:21:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32E4020524 for ; Mon, 8 Jun 2015 12:21:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751570AbbFHMVM (ORCPT ); Mon, 8 Jun 2015 08:21:12 -0400 Received: from mail-yk0-f180.google.com ([209.85.160.180]:35794 "EHLO mail-yk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751419AbbFHMVL convert rfc822-to-8bit (ORCPT ); Mon, 8 Jun 2015 08:21:11 -0400 Received: by yken206 with SMTP id n206so51044955yke.2; Mon, 08 Jun 2015 05:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=VjJAT++gCH1o37ywmh8gocUNQt40/Ck5m444PX29Nk8=; b=QP+jbPcnO1NojZaSNj74r55c4fjk4gCPuVViZxrzdZLc03wH7fusBUfM1WUpu7PaKc NAk7g7NRCCflmHW9b2Hk3MeuWvpZhrmEhpIEWRXda03RjmAFo4i4PrptPMtK3KPlYEAn O2pTvesO94DIlg9+GqqjOMQWPdObBV311Mg4co0OXefij8G53yFhPh6R3fqKN/GKfsO3 npyxFvGzAYm/qvn782l5a7HsIcfzKfw8eurd4g85Op9EcqnB+/4ehuZ2B8TrSPQmQNIZ N82dh/VLi5GQ0Pk6iB0bxFKHdKbryWTYnF3wKs1dy5nmX7cLxIVRmKUxwONKgfPm9XnL UbBQ== MIME-Version: 1.0 X-Received: by 10.170.152.195 with SMTP id t186mr18371608ykc.78.1433766070045; Mon, 08 Jun 2015 05:21:10 -0700 (PDT) Received: by 10.37.13.15 with HTTP; Mon, 8 Jun 2015 05:21:09 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Jun 2015 15:21:09 +0300 Message-ID: Subject: Re: randconfig build error with next-20150529, in crypto/jitterentropy.c From: Andy Shevchenko To: Jim Davis Cc: Stephen Rothwell , linux-next , linux-kernel , Herbert Xu , "David S. Miller" , linux-crypto , Waiman Long , "Peter Zijlstra (Intel)" , Ingo Molnar , "x86@kernel.org" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Fri, May 29, 2015 at 10:14 PM, Jim Davis wrote: > Building with the attached random configuration file, Hit the very same error against next-20150605. The issue with that file we have no compiler optimization enabled. So, guys, how you would recommend to fix it? By the way, I'm building the x86_64_defconfig with following changes > > In file included from ./arch/x86/include/asm/spinlock.h:46:0, > from include/linux/spinlock.h:87, > from include/linux/seqlock.h:35, > from include/linux/time.h:5, > from include/linux/stat.h:18, > from include/linux/module.h:10, > from crypto/jitterentropy.c:52: > In function ‘native_queued_spin_unlock’, > inlined from ‘queued_spin_unlock’ at ./arch/x86/include/asm/qspinlock.h:38:2 > , > inlined from ‘do_raw_spin_unlock’ at include/linux/spinlock.h:175:2, > inlined from ‘__raw_spin_unlock’ at include/linux/spinlock_api_smp.h:153:2, > inlined from ‘spin_unlock’ at include/linux/spinlock.h:357:2, > inlined from ‘jent_kcapi_cleanup’ at crypto/jitterentropy.c:844:2: > ./arch/x86/include/asm/qspinlock.h:17:317: error: call to > ‘__compiletime_assert_17’ declared with attribute error: Need native > word sized stores/loads for atomicity. > In function ‘native_queued_spin_unlock’, > inlined from ‘queued_spin_unlock’ at ./arch/x86/include/asm/qspinlock.h:38:2 > , > inlined from ‘do_raw_spin_unlock’ at include/linux/spinlock.h:175:2, > inlined from ‘__raw_spin_unlock’ at include/linux/spinlock_api_smp.h:153:2, > inlined from ‘spin_unlock’ at include/linux/spinlock.h:357:2, > inlined from ‘jent_kcapi_random’ at crypto/jitterentropy.c:856:2: > ./arch/x86/include/asm/qspinlock.h:17:317: error: call to > ‘__compiletime_assert_17’ declared with attribute error: Need native > word sized stores/loads for atomicity. > scripts/Makefile.build:264: recipe for target 'crypto/jitterentropy.o' failed diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index 315b861..363824f 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -172,9 +172,11 @@ CONFIG_TIGON3=y CONFIG_NET_TULIP=y CONFIG_E100=y CONFIG_E1000=y +CONFIG_E1000E=y CONFIG_SKY2=y CONFIG_FORCEDETH=y CONFIG_8139TOO=y +CONFIG_R8169=y CONFIG_FDDI=y CONFIG_INPUT_POLLDEV=y # CONFIG_INPUT_MOUSEDEV_PSAUX is not set @@ -198,7 +200,7 @@ CONFIG_HW_RANDOM=y # CONFIG_HW_RANDOM_INTEL is not set # CONFIG_HW_RANDOM_AMD is not set CONFIG_NVRAM=y -CONFIG_HPET=y +# CONFIG_HPET is not set # CONFIG_HPET_MMAP is not set CONFIG_I2C_I801=y CONFIG_WATCHDOG=y @@ -206,8 +208,8 @@ CONFIG_AGP=y CONFIG_AGP_AMD64=y CONFIG_AGP_INTEL=y CONFIG_DRM=y -CONFIG_DRM_I915=y -CONFIG_DRM_I915_KMS=y +# CONFIG_DRM_I915 is not set +CONFIG_BACKLIGHT_LCD_SUPPORT=y CONFIG_FB_MODE_HELPERS=y CONFIG_FB_TILEBLITTING=y CONFIG_FB_EFI=y @@ -224,8 +226,8 @@ CONFIG_SND_MIXER_OSS=y CONFIG_SND_PCM_OSS=y CONFIG_SND_SEQUENCER_OSS=y CONFIG_SND_HRTIMER=y -CONFIG_SND_HDA_INTEL=y -CONFIG_SND_HDA_HWDEP=y +# CONFIG_SND_HDA_INTEL is not set +# CONFIG_SND_HDA_HWDEP is not set CONFIG_HIDRAW=y CONFIG_HID_GYRATION=y CONFIG_LOGITECH_FF=y @@ -307,3 +309,56 @@ CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y CONFIG_SECURITY_SELINUX_DISABLE=y # CONFIG_CRYPTO_ANSI_CPRNG is not set +CONFIG_FUNCTION_TRACER=y +CONFIG_I2C_DESIGNWARE_PCI=y +CONFIG_I2C_DESIGNWARE_PLATFORM=m +CONFIG_GPIOLIB=y +CONFIG_GPIO_INTEL_MID=y +CONFIG_INTEL_MID_WATCHDOG=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_CHIPIDEA_HOST=y +CONFIG_X86_EXTENDED_PLATFORM=y +CONFIG_X86_INTEL_MID=y +CONFIG_EFI_STUB=y +CONFIG_EFI_MIXED=y +CONFIG_EARLY_PRINTK_EFI=y +CONFIG_FB=y +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_DYNAMIC_DEBUG=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC3_GADGET=y +CONFIG_USB_SERIAL=y +CONFIG_USB_SERIAL_PL2303=y +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX88179_178A=y +CONFIG_USB_NET_MCS7830=y +CONFIG_USB_NET_AX8817X=y +CONFIG_X86_INTEL_LPSS=y +CONFIG_PM_RUNTIME=y +CONFIG_DW_DMAC_CORE=m +CONFIG_DW_DMAC=m +CONFIG_DW_DMAC_PCI=m +CONFIG_DMATEST=m +CONFIG_SERIAL_8250_DMA=y +CONFIG_SERIAL_8250_PCI=y +CONFIG_SERIAL_8250_DW=m +CONFIG_MMC=m +CONFIG_MMC_SDHCI=m +CONFIG_MMC_SDHCI_ACPI=m +CONFIG_ACPI_DEBUG=y +CONFIG_ACPI_PROCFS_POWER=y +CONFIG_DMA_API_DEBUG=y +CONFIG_DEBUG_LOCKDEP=y +CONFIG_DEBUG_SHIRQ=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_BAYTRAIL=y +CONFIG_PWM=y +CONFIG_PWM_LPSS=m +CONFIG_PWM_LPSS_PCI=m +CONFIG_PWM_LPSS_PLATFORM=m +CONFIG_SPI=y +CONFIG_SPI_PXA2XX_PCI=m +CONFIG_SPI_PXA2XX=m