From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 17 Nov 2015 08:34:16 +0100 From: Gilles Chanteperdrix Message-ID: <20151117073416.GC23348@hermes.click-hack.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Xenomai] [PATCH] IPIPE patch for BCM2709/RPI2 (version #4) List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mathieu Rondonneau Cc: xenomai@xenomai.org On Mon, Nov 16, 2015 at 08:05:57PM -0800, Mathieu Rondonneau wrote: > From fae80ca1c28b6a9e34f597fe63bfce768123337f Mon Sep 17 00:00:00 2001 > From: Mathieu Rondonneau > Date: Mon, 16 Nov 2015 20:03:28 -0800 > Subject: [PATCH] IPIPE patch for BCM2709/RPI2. > > - kernel: https://github.com/raspberrypi/linux (rpi-3.18.y) > - 1bb18c8f721ef674a447f3622273f2e2de7a205c > - xenomai: git://git.xenomai.org/xenomai-3.git (stable-3.0.x) > - cb72996a06ae4f29e403e3397324069f1983145e > --- > arch/arm/Kconfig | 2 +- > arch/arm/mach-bcm2709/armctrl.c | 4 ++++ > arch/arm/mach-bcm2709/bcm2708_gpio.c | 6 ++++-- > arch/arm/mach-bcm2709/bcm2709.c | 9 +++++++++ > arch/arm/mach-bcm2709/include/mach/entry-macro.S | 12 ++++++++++-- > 5 files changed, 28 insertions(+), 5 deletions(-) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 4860d5f..ed45f63 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -1058,7 +1058,7 @@ config IPIPE_ARM_KUSER_TSC > bool > select GENERIC_TIME_VSYSCALL > select IPIPE_HAVE_HOSTRT if IPIPE > - default y if ARCH_AT91 || ARM_TIMER_SP804 || ARCH_MXC || > ARCH_OMAP || PLAT_PXA || PLAT_S3C24XX || ARCH_SA1100 > + default y if ARCH_AT91 || ARM_TIMER_SP804 || ARCH_MXC || > ARCH_OMAP || PLAT_PXA || PLAT_S3C24XX || ARCH_SA1100 || ARCH_BCM2709 > endif The patch will generate less conflicts on upgrade if you move the selection of IPIPE_ARM_KUSER_TSC to the SOC-specific section. With something like: select IPIPE_ARM_KUSER_TSC if IPIPE -- Gilles. https://click-hack.org