Here is the resend of the patch to support compatible URB ioctl
on 64 bit systems. This version already incorporate some feed back
I get from the list and I have not get any new input yet.
Change Log:
- Let usbdevfs directly handle 32 bit URB ioctl. More specifically:
USBDEVFS_SUBMITURB32,
Here is the resend of the patch to support compatible URB ioctl
on 64 bit systems. This version already incorporate some feed back
I get from the list and I have not get any new input yet.
Change Log:
- Let usbdevfs directly handle 32 bit URB ioctl. More specifically:
USBDEVFS_SUBMITURB32,
On Sat, Jan 29, 2005 at 07:33:31AM +0100, Andi Kleen wrote:
> Issues:
> - Should use CONFIG_COMPAT, not x86-64 specific symbols
Fixed.
> - Why can't you set URB_COMPAT transparently in the emulation
> layer? Then existing applications would hopefully work without
> changes, right?
Now I see it.
On Sat, Jan 29, 2005 at 07:33:31AM +0100, Andi Kleen wrote:
>
> Looks reasonable from a first look.
>
> Issues:
> - Should use CONFIG_COMPAT, not x86-64 specific symbols
Agree.
> - Why can't you set URB_COMPAT transparently in the emulation
> layer? Then existing applications would hopefully
It is nice to know all that. I guess I did not know much about
the other 64 bit systems. I will update and resend my patch.
Thanks!
Chris
On Fri, Jan 28, 2005 at 09:45:38PM -0800, Roland Dreier wrote:
> Christopher> This patch is for the case that running 32 bit
> Christopher>
It is nice to know all that. I guess I did not know much about
the other 64 bit systems. I will update and resend my patch.
Thanks!
Chris
On Fri, Jan 28, 2005 at 09:45:38PM -0800, Roland Dreier wrote:
Christopher This patch is for the case that running 32 bit
Christopher application
On Sat, Jan 29, 2005 at 07:33:31AM +0100, Andi Kleen wrote:
Looks reasonable from a first look.
Issues:
- Should use CONFIG_COMPAT, not x86-64 specific symbols
Agree.
- Why can't you set URB_COMPAT transparently in the emulation
layer? Then existing applications would hopefully work
On Sat, Jan 29, 2005 at 07:33:31AM +0100, Andi Kleen wrote:
Issues:
- Should use CONFIG_COMPAT, not x86-64 specific symbols
Fixed.
- Why can't you set URB_COMPAT transparently in the emulation
layer? Then existing applications would hopefully work without
changes, right?
Now I see it. That
Christopher Li <[EMAIL PROTECTED]> writes:
> VMware is a big user of the usbdevfs, we translate guest USB
> IO to usbdevfs, by submitting URB. On the x86_64 system, we
> need those compatible ioctl for submitting URBs. For now we
> make a hack to submit it through the vmmon driver. But that
> is
Christopher Li <[EMAIL PROTECTED]> writes:
> This patch is for the case that running 32 bit application on
> a 64 bit kernel. So far only x86_64 allow you to do that.
>
> I am not aware of other 64bit architecture need the 32bit
> emulation.
A lot of them do. Just use CONFIG_COMPAT instead.
On Fri, Jan 28, 2005 at 08:33:05PM -0500, Christopher Li wrote:
> This patch is for the case that running 32 bit application on
> a 64 bit kernel. So far only x86_64 allow you to do that.
>
> I am not aware of other 64bit architecture need the 32bit
> emulation.
Huh???
a) ppc64 runs
Christopher> This patch is for the case that running 32 bit
Christopher> application on a 64 bit kernel. So far only x86_64
Christopher> allow you to do that.
Actually, at least ia64, mips, parisc, ppc64, s390 and sparc64 also
support 32-bit applications on a 64-bit kernel. All of
This patch is for the case that running 32 bit application on
a 64 bit kernel. So far only x86_64 allow you to do that.
I am not aware of other 64bit architecture need the 32bit
emulation.
Chris
On Sat, Jan 29, 2005 at 04:29:51AM +, Gianni Tedesco wrote:
> On Fri, 2005-01-28 at 16:23 -0500,
On Fri, 2005-01-28 at 16:23 -0500, Christopher Li wrote:
> +#ifdef CONFIG_IA32_EMULATION
> +
> + case USBDEVFS_SUBMITURB32:
> + snoop(>dev, "%s: SUBMITURB32\n", __FUNCTION__);
> + ret = proc_submiturb_compat(ps, p);
> + if (ret >= 0)
> +
Hi,
The compatible ioctl is missing for submitting URB from 32 bit
application on a x86_64 system. For people who need to refresh
their mind, please read the big comment after do_usbdevfs_bulk
in fs/compat_ioctl.c
VMware is a big user of the usbdevfs, we translate guest USB
IO to usbdevfs, by
Hi,
The compatible ioctl is missing for submitting URB from 32 bit
application on a x86_64 system. For people who need to refresh
their mind, please read the big comment after do_usbdevfs_bulk
in fs/compat_ioctl.c
VMware is a big user of the usbdevfs, we translate guest USB
IO to usbdevfs, by
On Fri, 2005-01-28 at 16:23 -0500, Christopher Li wrote:
+#ifdef CONFIG_IA32_EMULATION
+
+ case USBDEVFS_SUBMITURB32:
+ snoop(dev-dev, %s: SUBMITURB32\n, __FUNCTION__);
+ ret = proc_submiturb_compat(ps, p);
+ if (ret = 0)
+
This patch is for the case that running 32 bit application on
a 64 bit kernel. So far only x86_64 allow you to do that.
I am not aware of other 64bit architecture need the 32bit
emulation.
Chris
On Sat, Jan 29, 2005 at 04:29:51AM +, Gianni Tedesco wrote:
On Fri, 2005-01-28 at 16:23 -0500,
Christopher This patch is for the case that running 32 bit
Christopher application on a 64 bit kernel. So far only x86_64
Christopher allow you to do that.
Actually, at least ia64, mips, parisc, ppc64, s390 and sparc64 also
support 32-bit applications on a 64-bit kernel. All of those
On Fri, Jan 28, 2005 at 08:33:05PM -0500, Christopher Li wrote:
This patch is for the case that running 32 bit application on
a 64 bit kernel. So far only x86_64 allow you to do that.
I am not aware of other 64bit architecture need the 32bit
emulation.
Huh???
a) ppc64 runs ppc32
Christopher Li [EMAIL PROTECTED] writes:
This patch is for the case that running 32 bit application on
a 64 bit kernel. So far only x86_64 allow you to do that.
I am not aware of other 64bit architecture need the 32bit
emulation.
A lot of them do. Just use CONFIG_COMPAT instead.
-Andi
-
To
Christopher Li [EMAIL PROTECTED] writes:
VMware is a big user of the usbdevfs, we translate guest USB
IO to usbdevfs, by submitting URB. On the x86_64 system, we
need those compatible ioctl for submitting URBs. For now we
make a hack to submit it through the vmmon driver. But that
is very
22 matches
Mail list logo