From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91C62C433E9 for ; Tue, 12 Jan 2021 10:25:39 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C619123109 for ; Tue, 12 Jan 2021 10:25:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C619123109 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1kzGrc-0003uI-NN; Tue, 12 Jan 2021 05:25:24 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kzGrZ-0003uA-S6 for kernelnewbies@kernelnewbies.org; Tue, 12 Jan 2021 05:25:22 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id BBC361AEF; Tue, 12 Jan 2021 05:25:18 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 12 Jan 2021 05:25:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=fm2; bh=w VbXqrzzPJGOsPBZMIoXNo3y94dhIrRd81QcMCZ+u3o=; b=NaFXejAM7L5TmU+yJ AxgE0rc+fowg9PNmiwTIkKcNcVKf/1H5lUwJ1/2YmBrdGcnptOFPPtgkFg9Ym9HD ZSObO3GlZW4+uJU032Smh4nLtzpHR4ZOfhCNdTHZt1t/KKYogOWpDIqhqsyJ7b9T ua3xnrPpZkr3q3o5xAimsbQPup1BriEEpxzz9tnDp1jEqEYkbRQCOzWvVqjFSc47 I1/4e4csn1yClRBWKgNMhR+sGlGZKBQxr5injrFMD8clAt/TRm3RyqBNtzZXDGcw GkhyM2fBanK0Ub+qHZJaEjZSzLUModxWPi6YMdOVS6u9P47DaiSRV8VQfOD8fa9v uaaIg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=wVbXqrzzPJGOsPBZMIoXNo3y94dhIrRd81QcMCZ+u 3o=; b=ddv+1lZeta/4CS3PONwzESqqhd/EFtxXgf4eZePWWIKWMFVT2/opVkqRF m6zPGRsut0lDs/mEMI+8Fp1a5zzEy3q3t4ahrUTr4h3B9gjpzIqIcFEaKoekuMfN dgqsZCsfDG17IYfg6Mz2Iu5mF7gtO3XwmDIRdyr10c2bft3+mMQw/EpA6t2jk3Z9 HZfnQ/NfntvkE7tomIekpAd9888DtMGjBvD0ycf17RVlt2zGFJqqbYfNQihAJ86p E2DYLSPQ6CrtWfMMAeFBCxkJsAzlVPelPa211EwqU+epNbanx+466axONpk6mR/1 CIGhsHhsCRHH9uTcKCzmZAOqZ60Mw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdehgedgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepvedtie elueetgeeggfeufefhvefgtdetgfetgfdtvdegjeehieduvddtkeffheffnecukfhppeek fedrkeeirdejgedrieegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepghhrvghgsehkrhhorghhrdgtohhm X-ME-Proxy: Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) by mail.messagingengine.com (Postfix) with ESMTPA id CE73424005E; Tue, 12 Jan 2021 05:25:17 -0500 (EST) Date: Tue, 12 Jan 2021 11:26:26 +0100 From: Greg KH To: Jorge Fernandez Monteagudo Subject: Re: How to replace set_fs(KERNEL_DS) for a kernel 5.10.x module driver version Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Cc: "kernelnewbies@kernelnewbies.org" X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: kernelnewbies-bounces@kernelnewbies.org 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.)=A0 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