No, we haven't tried to do this. I suppose it would be possible to port
the TILE-Gx kernel to use -m32 mode and HIGHMEM, but I think it would
just uglify the code. :-)
Right, true enough. I'm still building internally with
__ARCH_WANT_SYSCALL_OFF_T, so some extra compat functions are still
needed for linking the kernel. I'll try to remember to unifdef them out
of the code I submit back to the community.
Yes, good point. I'll be holding back this code from the initial patch,
so I can think about it some more. I'm still predisposed to avoid
adding system calls in general, though.
OK, I bombed all our existing drivers to use .unlocked_ioctl. It's
convenient that unlocked_ioctl now has the same signature as compat_ioctl.
We do now. At the time we (semi-speculatively) wrote the hugevmap code,
we didn't. I won't return this code to the community until we actually
use it, in any case.
We don't define CONFIG_HAVE_MMIO, but drivers certainly seem to use
ioread/iowrite methods as well as inb/outb without guarding them with
any particular tests, so we have to provide definitions of some kind for
all of them. I'll confer with our PCI developer to see if we can clean
up the set of definitions in io.h.
We use this not for the floating-point operations, but for integer
divide-by-zero. In principle we could use it for floating-point too,
but we currently don't, since generally folks don't expect it there.
Yes, we could override this in libc. My assumption was that it was
cleaner to do it in the kernel, since we support uclibc and glibc, and
doing it in the kernel meant only doing it in one place.
I'll keep it as-is, then. Like the sendfile discussion above, we'll
need both for now, but I'll see if I can unifdef the unwanted ones out
for the community.
Does this imply separate git commits to our repository, if we want to do
things the Right Way? I always tend to try to commit things in such a
way that everything is always buildable between each commit, and I can't
easily pull out the disassembly-related files from the kernel. On the
other hand I can easily split up a single bit GIT commit-patch into
multiple emails, but then of course it wouldn't apply easily to a "git
am". Guidance?? :-)
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
--