From patchwork Fri Aug 10 23:26:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Van Hoof X-Patchwork-Id: 176650 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 357662C00CE for ; Sat, 11 Aug 2012 09:27:10 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SzybY-0008Pj-6L; Fri, 10 Aug 2012 23:26:56 +0000 Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SzybV-0008Pe-Lk for kernel-team@lists.ubuntu.com; Fri, 10 Aug 2012 23:26:53 +0000 X-Authority-Analysis: v=2.0 cv=Dp/UCRD+ c=1 sm=0 a=jrUOvm/RFT1SBfzjC7VLzg==:17 a=JJJANRHvMM0A:10 a=YzjXdzRgpm0A:10 a=1XB9yynOT10A:10 a=DfNHnWVPAAAA:8 a=danhDmx_AAAA:8 a=beVkryVoT5yjUe6waaMA:9 a=lBRciGGoxdUA:10 a=jrUOvm/RFT1SBfzjC7VLzg==:117 X-Cloudmark-Score: 0 X-Originating-IP: 174.109.107.185 Received: from [174.109.107.185] ([174.109.107.185:18090] helo=hatori.itb.ouwish.com) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id F9/CA-13948-CB895205; Fri, 10 Aug 2012 23:26:52 +0000 Received: from hatori.itb.ouwish.com (localhost [127.0.0.1]) by hatori.itb.ouwish.com (8.14.4/8.14.4/Debian-2ubuntu2) with ESMTP id q7ANQpSH021040; Fri, 10 Aug 2012 19:26:51 -0400 Received: (from vanhoof@localhost) by hatori.itb.ouwish.com (8.14.4/8.14.4/Submit) id q7ANQpt5021039; Fri, 10 Aug 2012 19:26:51 -0400 From: Chris Van Hoof To: kernel-team@lists.ubuntu.com Subject: [PATCH][Quantal] UBUNTU: config: compile the rtc-pl031 driver as static on the highbank kernel flavour Date: Fri, 10 Aug 2012 19:26:48 -0400 Message-Id: <1344641208-21002-1-git-send-email-vanhoof@canonical.com> X-Mailer: git-send-email 1.7.9.5 Cc: Dann Frazier X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From: Dann Frazier The rtc-pl031 driver is used for the RTC on the highbank platform. Presently it is built as a module in Precise and Quantal, making the driver unavailable in early boot, yielding the following error on both releases: ./drivers/rtc/hctosys.c: unable to open rtc device (rtc0) This behaviour prevents the ability to accurately check the last-mounted time on the root filesystem. BugLink: https://bugs.launchpad.net/bugs/1035110 Signed-off-by: Dann Frazier Signed-off-by: Chris Van Hoof Cc: Ike Pan --- debian.master/config/armel/config.common.armel | 1 + debian.master/config/armhf/config.flavour.highbank | 1 + debian.master/config/armhf/config.flavour.omap | 1 + debian.master/config/config.common.ubuntu | 1 - 4 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian.master/config/armel/config.common.armel b/debian.master/config/armel/config.common.armel index ee2ed97..4488920 100644 --- a/debian.master/config/armel/config.common.armel +++ b/debian.master/config/armel/config.common.armel @@ -199,6 +199,7 @@ CONFIG_RELAY=y # CONFIG_RT2800USB_UNKNOWN is not set CONFIG_RT2X00_LIB_DEBUGFS=y CONFIG_RTC_DRV_CMOS=m +CONFIG_RTC_DRV_PL031=m CONFIG_RTC_DRV_TWL4030=y CONFIG_RWSEM_GENERIC_SPINLOCK=y CONFIG_SATA_AHCI_PLATFORM=m diff --git a/debian.master/config/armhf/config.flavour.highbank b/debian.master/config/armhf/config.flavour.highbank index 2f7f91d..36f1d8e 100644 --- a/debian.master/config/armhf/config.flavour.highbank +++ b/debian.master/config/armhf/config.flavour.highbank @@ -135,6 +135,7 @@ CONFIG_PREEMPT_RCU=y # CONFIG_REISERFS_FS_POSIX_ACL is not set # CONFIG_REISERFS_FS_SECURITY is not set # CONFIG_RELAY is not set +CONFIG_RTC_DRV_PL031=y CONFIG_RTC_DRV_TWL4030=m CONFIG_SATA_AHCI_PLATFORM=y # CONFIG_SCHED_AUTOGROUP is not set diff --git a/debian.master/config/armhf/config.flavour.omap b/debian.master/config/armhf/config.flavour.omap index 16eb583..11d014e 100644 --- a/debian.master/config/armhf/config.flavour.omap +++ b/debian.master/config/armhf/config.flavour.omap @@ -135,6 +135,7 @@ CONFIG_QUOTA_NETLINK_INTERFACE=y CONFIG_REISERFS_FS_POSIX_ACL=y CONFIG_REISERFS_FS_SECURITY=y CONFIG_RELAY=y +CONFIG_RTC_DRV_PL031=m CONFIG_RTC_DRV_TWL4030=y CONFIG_SATA_AHCI_PLATFORM=m CONFIG_SCHED_AUTOGROUP=y diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu index 7f8337f..e69d07e 100644 --- a/debian.master/config/config.common.ubuntu +++ b/debian.master/config/config.common.ubuntu @@ -4536,7 +4536,6 @@ CONFIG_RTC_DRV_PCF50633=m CONFIG_RTC_DRV_PCF8563=m CONFIG_RTC_DRV_PCF8583=m CONFIG_RTC_DRV_PL030=m -CONFIG_RTC_DRV_PL031=m CONFIG_RTC_DRV_PS3=m CONFIG_RTC_DRV_R9701=m CONFIG_RTC_DRV_RP5C01=m