public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Thorsten Glaser <tg@mirbsd.de>
To: linux-m68k@vger.kernel.org
Subject: Re: [PATCH] make NatFeat drivers bool, not tristate
Date: Wed, 24 Jul 2013 13:26:26 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130724T152350-539@post.gmane.org> (raw)
In-Reply-To: Pine.BSM.4.64L.1307241241550.30771@herc.mirbsd.org

Thorsten Glaser <tg <at> mirbsd.de> writes:

> Andreas Schwab dixit:
> 
> >The problem is that aranym expects the parameters of the natfeat calls
> >to be physical addresses.  The nf_get_id calls use literal strings as
> >parameters which only works when the drivers are builtin because phys ==
> >virt then.
> 
> Ah, right, there was that issue… so this patch should probably go in?

At first, anyway.

Maybe if CONFIG_NATFEAT is selected (it’s bool), some bounce buffer could
be allocated and memlocked, which the other NF* drivers can then use.
(If NatFeat is not found during boot, no memory should be allocated.)

Especially if we had more NF* drivers in the future (hostfs could be made
into something, maybe with something like umsdos on top for Unix file
permissions? And I’m hoping for a bidirectional “virtio/serial” console…)
this could be useful sharing, and not needing to have everything else
in the kernel statically.

Well, if someone has time and wants to write this.

bye,
//mirabilos

  reply	other threads:[~2013-07-24 13:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 22:51 [PATCH] make NatFeat drivers bool, not tristate Thorsten Glaser
2013-07-24  8:57 ` Andreas Schwab
2013-07-24 12:42   ` Thorsten Glaser
2013-07-24 13:26     ` Thorsten Glaser [this message]
2013-07-24 14:56       ` Geert Uytterhoeven
2013-07-24 15:02         ` Petr Stehlik
2013-07-24 16:19           ` Geert Uytterhoeven
2013-07-24 20:04             ` Petr Stehlik
2013-07-24 17:23         ` Thorsten Glaser
2013-07-24 17:40           ` Geert Uytterhoeven
2013-07-29 21:52 ` Geert Uytterhoeven
2013-07-30  8:50   ` Thorsten Glaser

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=loom.20130724T152350-539@post.gmane.org \
    --to=tg@mirbsd.de \
    --cc=linux-m68k@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox