All of lore.kernel.org
 help / color / mirror / Atom feed
From: "George Pontis" <GPontis@z9.com>
To: xenomai@xenomai.org
Subject: [Xenomai] adeos-ipipe-3.0.13-arm-1.18-09.patch broken
Date: Mon, 4 Jun 2012 18:35:10 -0700	[thread overview]
Message-ID: <008b01cd42bb$724478e0$56cd6aa0$@com> (raw)

This recently released patch appears to be broken with regard to patching
arch/arm/mach-at91/at91sam9g45.c.

The first section of the patch should be applied to around line 32 in
similar fashion to the patch for the other micros in the family. However, it
is being applied to an entirely different structure around line 320. The
resulting file fails to compile. I doctored up this section of the patch so
it would be applied in the correct place, and the kernel builds. The
incorrect section of the patch is at line 5146. The following edit can be a
useful patch to the patch, until officially re-released:

--- a/arch/arm/mach-at91/at91sam9g45.c
+++ b/arch/arm/mach-at91/at91sam9g45.c
@@ -32,6 +32,13 @@ .pfn		= __phys_to_pfn(AT91_BASE_SYS),
		.length		= SZ_16K,
		.type		= MT_DEVICE,
 	}, {
+#ifdef CONFIG_IPIPE
+		.virtual	= AT91_VA_BASE_TCB0,
+		.pfn		= __phys_to_pfn(AT91_BASE_TCB0),
+		.length		= SZ_16K,
+		.type		= MT_DEVICE,
+	}, {
+#endif /* CONFIG_IPIPE */
		.virtual	= AT91_IO_VIRT_BASE - AT91SAM9G45_SRAM_SIZE,
		.pfn		= __phys_to_pfn(AT91SAM9G45_SRAM_BASE),
		.length		= AT91SAM9G45_SRAM_SIZE,

George




             reply	other threads:[~2012-06-05  1:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05  1:35 George Pontis [this message]
2012-06-14 11:24 ` [Xenomai] adeos-ipipe-3.0.13-arm-1.18-09.patch broken Gilles Chanteperdrix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='008b01cd42bb$724478e0$56cd6aa0$@com' \
    --to=gpontis@z9.com \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.