All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: kama@jp.fujitsu.com
Cc: xen-devel@lists.xensource.com, xen-ia64-devel@lists.xensource.com
Subject: Re: [Patch] ARCH_HAS_DEV_MEM patch for Xwindow on IA64machine
Date: Wed, 04 Jul 2007 13:04:50 +0100	[thread overview]
Message-ID: <468BA902.76E4.0078.0@novell.com> (raw)
In-Reply-To: <20070704203821.B340.KAMA@jp.fujitsu.com>

>>> Jun Kamada <kama@jp.fujitsu.com> 04.07.07 13:43 >>>
>We would like to support Xwindow on IA64 by remapping machine address to
>pseudo physical address at PCI device initialization (pci_acpi_scan_root()
>in arch/ia64/pci/pci.c) but at "mmap /dev/mem" systemcall.
>With the new scheme, we need no longer the archtecture specific memory
>operations described above.

You only talk about X - isn't it possible that there are other users of this interface?

Also,

>--- a/drivers/xen/Kconfig	Thu Jun 21 15:12:20 2007 +0900
>+++ b/drivers/xen/Kconfig	Thu Jun 21 15:13:21 2007 +0900
>@@ -273,4 +273,8 @@ config XEN_SMPBOOT
> 	default y
> 	depends on SMP
> 
>+config XEN_DEVMEM
>+	bool
>+	default y
>+
> endif

This seems pretty useless unless ia64 doesn't use drivers/xen/Kconfig (which
would be a mistake I think).

>--- a/drivers/xen/Makefile	Thu Jun 21 15:12:20 2007 +0900
>+++ b/drivers/xen/Makefile	Thu Jun 21 15:13:21 2007 +0900
>@@ -5,9 +5,9 @@ obj-y	+= xenbus/
> obj-y	+= xenbus/
> obj-y	+= gntdev/
> obj-y	+= balloon/
>-obj-y	+= char/
> 
> obj-y	+= util.o
>+obj-$(CONFIG_XEN_DEVMEM)		+= char/
> obj-$(CONFIG_XEN_BLKDEV_BACKEND)	+= blkback/
> obj-$(CONFIG_XEN_BLKDEV_TAP)		+= blktap/
> obj-$(CONFIG_XEN_NETDEV_BACKEND)	+= netback/

This is certainly wrong. Even if driver/xen/char/ currently only has a
single file, you should descend into that directory. The conditional
(if needed at all) should then be in driver/xen/char/Makefile.

Jan

  reply	other threads:[~2007-07-04 12:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-04 11:43 [Patch] ARCH_HAS_DEV_MEM patch for Xwindow on IA64 machine Jun Kamada
2007-07-04 12:04 ` Jan Beulich [this message]
2007-07-04 12:24   ` [Xen-devel] [Patch] ARCH_HAS_DEV_MEM patch for Xwindow onIA64machine Akio Takebe
2007-07-06  9:46   ` [Patch] ARCH_HAS_DEV_MEM patch for Xwindow on IA64machine Jun Kamada

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=468BA902.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=kama@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-ia64-devel@lists.xensource.com \
    /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.