All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Jorge Fernandez Monteagudo <jorgefm@cirsa.com>
Cc: "kernelnewbies@kernelnewbies.org" <kernelnewbies@kernelnewbies.org>
Subject: Re: How to replace set_fs(KERNEL_DS) for a kernel 5.10.x module driver version
Date: Tue, 12 Jan 2021 11:26:26 +0100	[thread overview]
Message-ID: <X/15UtDqBoX8RIw1@kroah.com> (raw)
In-Reply-To: <DB9PR10MB452259065E8697A9BE5AE9B8A1AA0@DB9PR10MB4522.EURPRD10.PROD.OUTLOOK.COM>

On Tue, Jan 12, 2021 at 09:55:01AM +0000, Jorge Fernandez Monteagudo wrote:
> >Patents have almost nothing to do with licenses, we have many things in
> >the Linux kernel that are under a GPLv2 license that have patents issued
> >for (and are actively enforced.)  The GPL can, and does, work with the
> >patent system, so if that's a reason that any company tries to give for
> >not releasing kernel code, it's very misinformed.
> 
> Well, I think the only the reason not to publish the code was because
> it's a driver for a custom hardware with no interest outside our
> department...

Doesn't matter, we take drivers for anything, as long as someone is
using the hardware.

> > Anyway, off-topic but I figured I would try to clear that up.
> 
> I was wondering that with the current limitation, there is no way to
> call functions in a driver as the cdc-acm from other drivers as the
> dummy I sent. Maybe our driver was designed the way is to avoid
> latencies from context switching if the code were in userspace... It's
> only a guess...

You are dealing with USB speeds and latencies, kernel syscall issues are
the least of your worries here.

thanks,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2021-01-12 10:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-12  7:21 How to replace set_fs(KERNEL_DS) for a kernel 5.10.x module driver version Jorge Fernandez Monteagudo
2021-01-12  7:29 ` Greg KH
2021-01-12  7:39   ` Jorge Fernandez Monteagudo
2021-01-12  8:16     ` Greg KH
2021-01-12  8:26       ` Jorge Fernandez Monteagudo
2021-01-12  8:56         ` Greg KH
2021-01-12  9:12           ` Jorge Fernandez Monteagudo
2021-01-12  9:28             ` Greg KH
2021-01-12  9:55               ` Jorge Fernandez Monteagudo
2021-01-12 10:26                 ` Greg KH [this message]

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=X/15UtDqBoX8RIw1@kroah.com \
    --to=greg@kroah.com \
    --cc=jorgefm@cirsa.com \
    --cc=kernelnewbies@kernelnewbies.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.