On Wed, Feb 21, 2024 at 01:30:11AM +0300, Mustafa Ekşi wrote:
> 2. Where should I put my driver?
> staging/ or platform/x86/? I'm planning to extend my driver to support more
> laptops from the same vendor.
drivers/staging/ is only for code that is not ready to be merged and it
must have a TODO
On Sat, Feb 10, 2024 at 11:41:27AM +0100, Philipp Hortmann wrote:
> Hi,
>
> compiled the latest staging kernel on my xubuntu laptop. It starts fine but
> I cannot start my firefox anymore. This happens only with kernel 6.8-rcx.
> With kernel 6.7 no issue at all. Find logs below. Found in some
On Thu, Feb 08, 2024 at 03:11:33PM +, Turritopsis Dohrnii Teo En Ming wrote:
> Subject: Kernelnewbies
>
> Good day from Singapore,
>
> If we want to do kernel coding, what is the programming language that we must
> know?
Take a look at the Linux kernel source code itself to see what is
On Fri, Jan 19, 2024 at 12:45:52PM +0100, Kirill Yatsenko wrote:
> Hello Greg,
>
> Thanks for the suggestions!
> Yes, it will be better to implement the communication from the userspace.
>
> However, I was curious if the kernel implements some generic LED HID
> interface already,
> without the
On Fri, Jan 19, 2024 at 11:21:51AM +0100, Kirill Yatsenko wrote:
> Hello,
>
> I'm trying to find the Linux kernel driver in the tree that implements the
> HID LED usage table.
> The only driver that I've found is the hid-led.c. However, it seems to
> support only specific devices.
>
> The device
On Wed, Jan 03, 2024 at 03:23:13PM +0530, Dileep Sankhla wrote:
> On Wed, Jan 3, 2024 at 12:33 PM Greg KH wrote:
> > What do you mean by "first bug"? Why does the location in an
> > arbitrary list matter?
>
> Hello Greg,
>
> >From "first bug&q
On Wed, Jan 03, 2024 at 11:12:57AM +0530, Dileep Sankhla wrote:
> Last night, I dedicated time to go through bugs on Bugzilla (see [1]),
> considering their priorities but I could not figure out which one to
> pick. While I found only a couple of bugs with the latest modification
> date, I lack
On Sun, Oct 01, 2023 at 11:15:12PM +0200, Richard wrote:
> > > I've seen struct class defines **class_groups, but (contrary to struct
> > > kobj_type) not the corresponding struct sysfs_ops, why? Where is it then?
> >
> > groups are used to define attributes (i.e. sysfs files). sysfs_ops is
> >
On Sun, Oct 01, 2023 at 11:50:46AM +0200, Greg KH wrote:
> On Sat, Sep 30, 2023 at 08:17:26PM +0200, Richard wrote:
> > Hi,
> >
> > I appreciate your answer, thank you for your time.
> >
> > >
> > > Look closer. Tell me what "str
On Sat, Sep 30, 2023 at 08:17:26PM +0200, Richard wrote:
> Hi,
>
> I appreciate your answer, thank you for your time.
>
> >
> > Look closer. Tell me what "struct class" is for vs. what "struct
> > kobj_type" is for and see if they both could be used for the same thing?
>
> I've looked at the
On Sat, Sep 30, 2023 at 02:12:41AM +0200, Richard wrote:
> Hi all,
>
> Why do we have ktypes (struct kobj_type) AND device classes (struct class)?
Because they are two totally different things.
> Don't they serve the same purpose (more or less) and it would be simpler,
> clearer and more KISS
On Fri, Sep 22, 2023 at 12:10:00PM +, Christian Stalp wrote:
> BR Chris
> Confidentiality Notice: This message (including attachments) is a private
> communication solely for use of the intended recipient(s). If you are not the
> intended recipient(s) or believe you received this message in
On Mon, Jul 31, 2023 at 09:44:48AM +0200, Maciej Wieczór-Retman wrote:
> Hi!
> I was thinking on how to make using Neomutt
> easier with b4 to apply patches for testing.
>
> In thunderbird there is an extension
> that creates a button, that copies the message id.
> This way I was able to paste
On Wed, Jul 12, 2023 at 03:56:40PM +0100, Phil Perry wrote:
> Hello list,
>
> I am seeking to fully understand my obligations under the GPL regarding
> kernel modules, derived works and requirements to distribute the source
> code.
Wonderful. Please contact a lawyer about this if you have
On Fri, Jul 07, 2023 at 04:37:53PM +0530, Ayush Singh wrote:
> Hello everyone, I am working on a Google Summer of Code 2023 project [1]
> under BeagleBoard.or. In this project, I have to write a Linux driver that
> exposes `dev/ttyMCU0` (or something else) which can be accessed as a Serial
> tty
On Fri, Jun 30, 2023 at 07:16:11AM +0530, Abhiram V wrote:
> Yeah, I did ask for help in the college itself. Unfortunately, no one has
> any experience with the kernel. They don't mind getting help from the
> community.
>
> It was for my final year project and the grades have already been
On Wed, Jun 28, 2023 at 04:15:36PM +0530, Abhiram V wrote:
> I am implementing the Parallel Redundancy Protocol (PRP, IEC standard
> 62439-3) as a kernel module for a school project of mine.
Asking for help on homework on public mailing lists is generally frowned
apon as we are not getting the
On Sat, Jun 17, 2023 at 10:20:01AM +0100, Lucas Tanure wrote:
> Hi,
>
> How can the kernel read hardware information for a PCIe card if ACPI
> in the BIOS doesn't have it?
> The DSDT/ACPI information doesn't contain information about an
> external PCIe inserted in the motherboard, so how can the
On Fri, May 19, 2023 at 01:24:18PM +0530, Deepak Goel wrote:
> This link is good. However it is listing all the software which runs on
> Linux-kernel. I want to know what's going on inside the Linux-kernel
> (thread management, memory management, interface to devices, etc).
What of the many free
On Thu, May 18, 2023 at 08:16:18AM +0100, Lucas Tanure wrote:
> Hi,
>
> I have two kernel modules that need to talk over an API, and right
> now, they are statically linked together, but I am looking for a
> better way to separate them and share an API between them.
>
> A few years ago, I did
On Wed, May 17, 2023 at 09:47:21AM +0100, Lucas Tanure wrote:
> On Wed, May 17, 2023 at 9:22 AM Greg KH wrote:
> >
> > On Wed, May 17, 2023 at 09:16:45AM +0100, Lucas Tanure wrote:
> > > Hi,
> > >
> > > Can I build a driver in the mainline kernel to a p
On Wed, May 17, 2023 at 09:16:45AM +0100, Lucas Tanure wrote:
> Hi,
>
> Can I build a driver in the mainline kernel to a previous kernel version?
Not easily, and you really do not want to do that as the whole kernel
source, drivers included, are a snapshot in time and depend on each
other.
>
On Wed, May 17, 2023 at 10:57:23AM +0530, Deepak Goel wrote:
> Now my second question is, how do I develop a small kernel from scratch by
> myself. Very simple one initially for Arduino Uno. Is it possible?
Yes, it is possible, but that's outside of this mailing list's topic.
There are many great
On Tue, Mar 28, 2023 at 12:47:26AM -0700, Daniel Watson wrote:
> i would like to work on my laptop battery's charge threshold. it can be
> changed in the bios, but not while running. there's a project for doing
> this on some thinkpads, but not the framework laptop. any pointers for
> where to get
On Mon, Jan 23, 2023 at 11:35:37AM +0530, Arun Sudhilal wrote:
> Hi,
>
> What is the latest LTS version?
>
> https://www.kernel.org/category/releases.html
>
> The above page still says it is 5.15.
>
> https://lwn.net/Articles/915435/
> But the above lwn page says 6.1 is 2022 LTS.
>
>
On Mon, Dec 19, 2022 at 10:02:42AM -0700, jim.cro...@gmail.com wrote:
> On Mon, Dec 19, 2022 at 9:37 AM wrote:
> >
> > Id like to build 2 modules (with different names)
> > from a single source file, with 2nd being dependent
> > on the 1st.
> >
> > Specifically, Ive got:
> >
On Thu, Dec 15, 2022 at 12:01:37PM +0530, Ani Sinha wrote:
> On Thu, Dec 15, 2022 at 11:59 AM Greg KH wrote:
> >
> > On Thu, Dec 15, 2022 at 11:44:32AM +0530, Ani Sinha wrote:
> > > Hi
> > >
> > > I’m curious to know whether large static arrays can be
On Thu, Dec 15, 2022 at 11:44:32AM +0530, Ani Sinha wrote:
> Hi
>
> I’m curious to know whether large static arrays can be declared inside
> any module ( kernel source .c file).
Yes.
> I am aware that kernel stack
> space can be limited and so within the function it’s not a good idea
> to
On Thu, Dec 01, 2022 at 10:52:16AM -0500, John Aron wrote:
> On Wed, Nov 30, 2022 at 06:36:19PM -0500, John Aron wrote:
> > One C file and a few header files.
>
> Can you provide a link to them so that we can see what might be the problem?
> Without that, it's impossible to help, sorry.
> --
>
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I
On Tue, Nov 29, 2022 at 03:06:30PM +, Anuz Pratap Singh Tomar wrote:
> Hi all,
> I have not seen a struct define inside a function in kernel code and
> couldn't find any guidelines if it's permitted or frowned upon?
>
> int fn(int i)
> {
> struct my_struct {
> int var1;
> int var2
> }; /* is
On Thu, Nov 24, 2022 at 01:48:08PM -0500, John Aron wrote:
> Hello -
>
>
>
> I have an idea of where to begin: our kernel code compiles and works on Red
> Hat, CentOS, and Fedora. In Ubuntu 20.04, I have an error.
>
>
>
> root@form:/home/john/thor-linux/Kernel/ubuntu20.04# make
>
> rmmod:
On Fri, Oct 21, 2022 at 01:51:48AM +, Billie Alsup (balsup) wrote:
>
> > From: Greg KH
> > - is this something else? Then pick a place and submit a patch
> > and people will tell you if you got it wrong :)
>
> I think this is going to be my stra
On Mon, Oct 17, 2022 at 06:00:40PM +, Billie Alsup (balsup) wrote:
> I have a set of drivers that I would like to upstream. These are primarily
> MFD style drivers supporting Cisco-8000 FPGAs. The devices can be
> instantiated through multiple top level drivers, which provide the access
>
On Mon, Oct 10, 2022 at 05:55:33PM -0400, Drake Talley wrote:
> There is ample documentation for how to include a patch file, commits, or
> diff in emails,
> but I haven't been able to discern what is the preferred way to refer to code
> snippets
> as line ranges in a file for a given revision.
On Wed, Sep 21, 2022 at 04:26:29PM -0600, jim.cro...@gmail.com wrote:
> the path of least resistance might be to just put it in staging.
drivers/staging/ is not a dumping ground for drivers under active
development. Just take the time and get it merged properly in the first
place, it's always
On Wed, Sep 21, 2022 at 08:02:50PM +0900, Chan Kim wrote:
> Hello kernel experts and users,
>
> I'm trying to boot linux-5.10.0-rc5 on our arm64 board (using neoverse-v1
> core).
5.10-rc5 is very very very old and obsolete, and not even a real
release. Why are you using that specific kernel
On Sat, Aug 13, 2022 at 01:39:45AM +0300, Adverg Ebashinskii wrote:
> In case I have submitted a patch and some mistakes were pointed what is the
> right way of submitting a corrected version?
> I basically have 2 questions related to patch re-submit.
>
> 1. Is it appropriate to submit a new
On Sun, Aug 07, 2022 at 11:05:39PM +0300, Adverg Ebashinskii wrote:
> What is the right things to do if a patch got ignored? Is it appropriate to
> request a feedback by explicitly replying to the thread or ignoring the patch
> automatically means that it was rejected? If it's possible to request
On Wed, Jun 22, 2022 at 06:20:04AM +0200, Philipp Hortmann wrote:
> On 6/7/22 19:23, Greg KH wrote:
> > And again, please help review code, otherwise you are just asking others
> > to do work for you, which if you think about it, could be construed as a
> > bit selfish, and I
On Fri, Jun 10, 2022 at 02:52:22PM +0200, Andrea Tomassetti wrote:
> The contents of this email are confidential. If the reader of this
> message is not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
>
On Tue, Jun 07, 2022 at 12:19:03PM -0500, Ian Pilcher wrote:
> On 11/19/21 01:08, Greg KH wrote:
> > As the merge window is now over, please just resend the patches.
> > Remember maintainers can not add anything to their trees usually for the
> > week before, and during the
On Mon, Jun 06, 2022 at 10:51:00PM -0700, ozzloy wrote:
> i'd like to get some feedback before sending this off to the regular
> mailing list.
> i'm following Documentation/process/submitting-patches.rst and i think this
> is OK, but i thought that before and was wrong.
>
> i'm not even sure if i
On Thu, May 26, 2022 at 08:06:46PM +, Matt Silva wrote:
> Hey, Greg.
>
> I went ahead and started implementing the changes in libusb as per your
> recommendation. But I'm following up cause you asked about the usbhid-dump
> output.
>
> > But this really is not a HID device, right?
>
>
On Wed, May 18, 2022 at 10:04:14PM +, Matt Silva wrote:
> Hi, Greg. Thanks for the response, I really appreciate it! Awesome to get a
> reply from the man himself.
>
> Probably wasn't the best from me to refer to the Windows software as a
> driver. As far as I can tell it
> is just a
On Wed, May 18, 2022 at 10:47:59PM +0800, chen.mingzheng wrote:
> Hi Guys,
>
> Sorry to bother you all. I'm just starting learning linux with a rpi4b. I
> found the raspi source tree have many branches, which are different from the
> kernel source tree, which also have many branches. I want to
On Mon, May 16, 2022 at 11:40:09PM +, Matt Silva wrote:
> Hi, first time emailing here, so if there are any issues with my question,
> let me know and I'll fix it.
>
> Basically, I'm working with a USB HID microphone that also supports RGB
> features. I'm working to reverse engineer the RGB
On Thu, May 12, 2022 at 11:21:03PM +, Muhammad Ali wrote:
> From: Greg KH
> Sent: May 12, 2022 12:03 AM
> To: Muhammad Ali
> Cc: Kernelnewbies@kernelnewbies.org
> Subject: Re: UAPI syscall exception interpretation
>
> >On Wed, May 11, 2022 at 09:19:42PM +0
On Wed, May 11, 2022 at 09:19:42PM +, Muhammad Ali wrote:
> Consider a file: ftpclient.c
> Only include is: #include
> Then a few hundred lines of personal code.
> Then compiler/linker take in ftpcliebt.c and produce a.out (statically or
> dynamically linked, consider both cases if it makes
On Fri, Apr 22, 2022 at 10:08:54PM +0800, Solomon Tan wrote:
> Hey all,
>
> Could someone share what the coding style preference is where operator
> precedence is concerned?
>
> I notice in the staging drivers that there are many instances where
> there are parenthesis in statements where
On Wed, Apr 13, 2022 at 07:01:01AM +, Khalid F. Sabzwari wrote:
> Thanks Ozgur for quick reply.The link you shared below seems to work with
> MDIO interface.The PHY used on my board is Intel's i211 PHY which is
> controlled by PCIe interface.I found this
>
On Tue, Apr 12, 2022 at 03:51:24PM +0900, Chan Kim wrote:
> Hi Greg KH and all,
>
> I found how to find the irq number in my case! (char driver kernel module)
> I want to share it for reference to others.
>
> add these two header files for this.
> #include
> #inc
On Tue, Apr 12, 2022 at 11:18:03AM +0900, Chan Kim wrote:
> > You can replace all of the above code by just using the miscdevice
> > interface instead. Please use that, it ensures that you do everything
> > properly and simplifies it all.
Again, use the misc device api please.
> > > vaddr =
On Mon, Apr 11, 2022 at 03:32:23PM +0100, Peter Maydell wrote:
> On Mon, 11 Apr 2022 at 15:22, Chan Kim wrote:
> >
> >
> > > > > What bus type is your driver written for?
> > > > >
> > > > That sounds very logical. In my case I added it to system bus.
> > >
> > > What exactly do you mean by
On Mon, Apr 11, 2022 at 11:15:57PM +0900, Chan Kim wrote:
>
> > > > What bus type is your driver written for?
> > > >
> > > That sounds very logical. In my case I added it to system bus.
> >
> > What exactly do you mean by "system bus"?
> >
> I meant 'sysbus' in qemu code that I showed in the
On Mon, Apr 11, 2022 at 10:13:42PM +0900, Chan Kim wrote:
> Hi, Greg K-H,
> Thanks for replyaing.
> >
> > You ask the system for it. It depends on the bus type your driver is
> > written for for how to do this.
> >
> > For example, if you have a platform driver, you would call
> >
On Mon, Apr 11, 2022 at 09:36:14PM +0900, Chan Kim wrote:
> Hi,
> nobody's replying to my question.. so sad..
> I found the kernel makes an array (actually a radix tree) of 'irq_desc's.
> And my hwirq (SPI 15) is assigned to one of these irq_descs while processing
> device tree.
> In my case it
On Wed, Mar 23, 2022 at 09:15:16PM +0530, Pintu Agarwal wrote:
> Hi,
>
> For one of my requirements I need to find cpu usage or load_avg of an
> individual process or thread using "for_each_process_thread(process,
> thread)" where process/thread is a pointer to "task_struct".
Who is making such
On Sat, Mar 19, 2022 at 08:25:34AM +0100, Philipp Hortmann wrote:
> Hi all,
>
> please support me in what to do with the below macro as checkpatch seems to
> hate them.
>
> In this case the macro is unused. Just remove macro?
Yes.
> When the macro is used how to remove this checkpatch message:
On Sat, Mar 12, 2022 at 01:05:46PM +1300, Paulo Miguel Almeida wrote:
> On Mon, Jan 24, 2022 at 07:20:45AM +0100, Greg KH wrote:
> > On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote:
> > > On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote:
> > &
On Mon, Mar 14, 2022 at 12:36:51PM -0500, Ian Pilcher wrote:
> I am working on resubmitting a patch that adds an entry to
> Documentation/ABI/testing/sysfs-block. That file does not exist in
> Linus's most recent tree. All (presumably) of the entries documented in
> that file have been merged
On Mon, Mar 07, 2022 at 01:08:28PM +0530, Mithran B wrote:
> On Fri, 4 Mar 2022 at 20:31, Greg KH wrote:
>
> > On Fri, Mar 04, 2022 at 08:06:55PM +0530, Mithran B wrote:
> > > On Fri, 4 Mar 2022 at 19:48, Greg KH wrote:
> > >
> > > > On Fri, Mar 04,
On Fri, Mar 04, 2022 at 08:06:55PM +0530, Mithran B wrote:
> On Fri, 4 Mar 2022 at 19:48, Greg KH wrote:
>
> > On Fri, Mar 04, 2022 at 04:27:50PM +0530, Mithran B wrote:
> > > Hello,
> > >
> > > In Host and Gadget systems, enabled the USB CDC drivers.
>
On Fri, Mar 04, 2022 at 04:27:50PM +0530, Mithran B wrote:
> Hello,
>
> In Host and Gadget systems, enabled the USB CDC drivers.
> Then nodes are created as /dev/ttyAcm0 and /dev/ttyGs0.
> Then opened the nodes and write and read back the data.
> It is working.
>
> I want to test the performance
On Tue, Mar 01, 2022 at 04:42:53PM +0530, Guddla Rupesh wrote:
> Someone of you asked what is the need of compiling source code of kernel
> and I am doing so due to the following reasons.
>
> The main issues are when I click the shutdown button in desktop
> environments like gnome, mate the
On Mon, Feb 28, 2022 at 11:14:32PM +0530, Guddla Rupesh wrote:
> Hi I am Rupesh from India and I have pc i3 processor and h510 motherboard
> It has uefi. I have installed open suse tumblewood and all the packages
> have been updated. As the default kernel provided by open suse tumblewood
> is not
On Thu, Feb 24, 2022 at 05:40:33AM -0500, Aruna Hewapathirane wrote:
> On Thu, Feb 24, 2022 at 1:46 AM Greg KH wrote:
> >
> > On Wed, Feb 23, 2022 at 10:58:45PM -0500, Aruna Hewapathirane wrote:
> > > And I tried to build without make menuconfig and make is telling me I
On Wed, Feb 23, 2022 at 10:58:45PM -0500, Aruna Hewapathirane wrote:
> And I tried to build without make menuconfig and make is telling me I
> need 'bison' ? Why do I need bison ? Since when
> did we need bison ? See below for details.
>
> aruna@debian:/media/aruna/linux-next/home/linux-5.16.10$
On Sun, Feb 20, 2022 at 07:39:13AM +, Song Zhi wrote:
> Normally, the compiler warns if a variable is declared but is never
> referenced. In the Linux kernel source code, some unused functions and
> variables are marked __atrribute__((unused)).
>
>
> ==>
On Mon, Jan 24, 2022 at 05:49:06PM +1300, Paulo Miguel Almeida wrote:
> On Sun, Jan 23, 2022 at 12:04:48PM +0100, Greg KH wrote:
> > On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote:
> > >
> > > I googled a fair bit of time and I'm 99%
On Sun, Jan 23, 2022 at 07:48:01PM +0900, Chan Kim wrote:
> Hello all,
>
>
>
> In linux 5.4.21 source code, I put
>
> #pragma GCC push_options
>
> #pragma GCC optimize ("O0")
Do not do that. Bad things will happen, the kernel really does not like
this at all.
Why do you want to
On Sun, Jan 23, 2022 at 08:55:30PM +1300, Paulo Miguel Almeida wrote:
> > > 1: Given the driver's history and ioctl number conflit, is the backwards
> > > compatibility something to be kept or not to be taken into consideration
> > > as ioctl numbering rules weren't followed?
> >
> > Try to find
On Fri, Jan 21, 2022 at 04:21:18PM +0800, Tianrui Wei wrote:
> >> If there're not out of box solutions, is there a way I could view the
> >> API changes in every subsystem clearly? For example, this particular
> >> commit[^1] shows the second return argument is being removed from
> >> ki_complete,
On Thu, Jan 20, 2022 at 06:10:31PM +0800, Tianrui Wei wrote:
> Hi,
>
> I was wondering if there're any tools/scripts in Linux that'd help me
> to convert legacy kernel modules for using on a modern Linux (Kernel >
> 5.0) system?
It depends on the driver you wish to convert. For wireless
On Mon, Jan 17, 2022 at 08:01:25PM +1300, Paulo Miguel Almeida wrote:
> Hi everyone,
>
> Context:
>
> I've been working on a driver called pi433 in the staging area and it
> basically exposes a char device so the user can read/write stuff to
> it while obtaining tx/rx configuration via ioctl
On Thu, Jan 13, 2022 at 08:01:04PM +0100, Greg KH wrote:
> On Thu, Jan 13, 2022 at 07:54:19PM +0100, Philipp Hortmann wrote:
> > On 1/13/22 4:33 PM, Greg KH wrote:
> > > On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote:
> > > > On 1
On Thu, Jan 13, 2022 at 07:54:19PM +0100, Philipp Hortmann wrote:
> On 1/13/22 4:33 PM, Greg KH wrote:
> > On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote:
> > > On 1/12/22 10:54 AM, Greg KH wrote:
> > > > That driver tried to be an example for an
On Thu, Jan 13, 2022 at 04:33:50PM +0100, Greg KH wrote:
> On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote:
> > On 1/12/22 10:54 AM, Greg KH wrote:
> > > That driver tried to be an example for an unknown device, doing multiple
> > > different things t
On Thu, Jan 13, 2022 at 07:39:38AM +0100, Philipp Hortmann wrote:
> On 1/12/22 10:54 AM, Greg KH wrote:
> > That driver tried to be an example for an unknown device, doing multiple
> > different things that no single driver/device would probably ever need.
> > Also it c
On Tue, Jan 11, 2022 at 09:09:31PM +0100, Philipp Hortmann wrote:
> On 1/11/22 9:51 AM, Greg KH wrote:
> > On Mon, Jan 10, 2022 at 10:31:28PM +0100, Philipp Hortmann wrote:
> > > Hi all,
> > >
> > > template usb-skeleton.c is working but outdated, document
On Mon, Jan 10, 2022 at 10:31:28PM +0100, Philipp Hortmann wrote:
> Hi all,
>
> template usb-skeleton.c is working but outdated, documentation is helpful
> but years old and checkpatch.pl is giving hints to deprecated functions.
> This information is helpful but it does not show the way how to
On Sun, Dec 12, 2021 at 12:34:54PM +0530, Muni Sekhar wrote:
> Also, could someone please point me to a document which explains about
> "how to add a new system call" and the "system call flow from user
> space to kernel space" in X86 ARCHITECTURE (32-BIT AND 64-BIT).
There are many documents
On Fri, Dec 03, 2021 at 10:30:58PM +0530, Subhashini Rao Beerisetty wrote:
> [ Please keep me in CC as I'm not subscribed to the list]
>
> Hi all,
>
> We are using the Linux OS on an x86_64 machine. I need to measure the
> PCIe latency on my system, does kernel have any latency measurement
>
On Fri, Dec 03, 2021 at 08:06:46PM +0100, Tarif H wrote:
> Hi all,
>
> I know the official guidelines explicitly state that when submitting patches
> to the kernel the contributions must be signed with a real name and e-mail
> address, the reasons for this seem to be clear to me.
> The guidelines
On Thu, Nov 18, 2021 at 01:55:41PM -0600, Ian Pilcher wrote:
> I am looking for advice on how to proceed when kernel patch reviewers
> stop responding to patches. I've been working on a patch series for
> several months - sending 3 "RFC" and 8 non-RFC versions, receiving
> feedback, and
On Tue, Nov 09, 2021 at 08:15:46PM +, Balakrishnan, Anand wrote:
> Hello Developers,
>
>
> At our company, we maintain an internal thermal framework patch. We are
> exploring the option to up-stream this patch so we don't have to keep porting
> this from one Kernel version to the other.
>
On Mon, Nov 08, 2021 at 02:53:37PM -0600, Drew Abbott wrote:
> > There's a whole bunch of ways to schedule work in the kernel, it doesn't
> have to be
> > a heartbeat function.
> >
> > Plenty of drivers are split into IRQ and non-IRQ parts (sometimes called
> the top and
> > bottom parts of the
On Sun, Nov 07, 2021 at 06:16:55PM -0600, Drew Abbott wrote:
> > Where are you calling it from? Don't call it from irq context, which is
> the context that USB urbs are called from.
>
> I am currently calling it from an irq context, in the fusb302_irq_work()
> function of the in-tree fusb302.c
On Sat, Nov 06, 2021 at 07:54:39PM -0500, Drew Abbott wrote:
> Hi all,
>
> I am working on a kernel module that should shut down the device when USB
> is unplugged. I make a call to kernel_power_off(), but I see that it gets
> stuck trying to call blocking_notifier_call_chain(_notifier_list,
>
On Mon, Oct 18, 2021 at 04:41:14PM +0800, Dongliang Mu wrote:
> On Mon, Oct 18, 2021 at 4:07 PM FMDF wrote:
> >
> > On Mon, 18 Oct 2021, 04:46 Dongliang Mu, wrote:
> >>
> >> Hi all,
> >>
> >> I am writing to kindly ask one question: is there any tracing
> >> mechanism in Linux kernel that can
On Tue, Oct 12, 2021 at 11:06:53PM +0900, Chan Kim wrote:
> Hello all,
>
> To make a minimal kernel size (with almost no driver), I copied a .config
> that was used for building kernel for sparc machine using linux 3.3 several
> years ago to current linux 5.4.21 version build tree.
>
> (That
On Fri, Sep 24, 2021 at 09:30:55PM -0500, Drew Abbott wrote:
> Hello all,
>
> A third party driver has a probe function foo_probe(struct
> platform_device) that ends up allocating and initializing a list of
> various device structs:
>
> struct device *dev = >dev;
> struct ucsi_dev *udev;
> udev
On Thu, Sep 23, 2021 at 07:55:45PM +0200, Leon Gross wrote:
>
> > A:http://en.wikipedia.org/wiki/Top_post
> > Q: Were do I find info about this thing called top-posting?
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A:
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I
On Thu, Sep 23, 2021 at 06:39:22PM +0200, Leon Gross wrote:
> Hi everyone,
>
> If got more of a general question: Is there a way to list all the standard
> kernel modules that are included in a specific kernel version?
What do you mean by "standard" exactly?
What architecture? What types of
On Thu, Sep 23, 2021 at 08:24:10AM -0400, Ruben Safir wrote:
> On 9/23/21 3:27 AM, FMDF wrote:
> > but it still needs to use UEFI at runtime.
> no if it is on a bios system
If you are using the old "BIOS" interface, there are still places where
that BIOS takes over control from the CPU and does
On Thu, Sep 23, 2021 at 05:56:43AM -0400, Ruben Safir wrote:
> On Wed, Sep 22, 2021 at 06:07:49PM +0200, Greg KH wrote:
> > If you don't like this, wonderful, use a system based on a different
> > type of bootloader. But in the end, they end up all having to do the
> &g
On Thu, Sep 23, 2021 at 05:38:27AM -0400, Ruben Safir wrote:
> > Instead the OS needs UEFI runtime services to talk to the platform
> > firmware.
>
> What is that? The kernel is on the Metal. It is talking directly to
> the hardware.
No it is not. It is turtles all the way down, sorry.
> >
On Thu, Sep 23, 2021 at 05:17:41AM -0400, Ruben Safir wrote:
> On Thu, Sep 23, 2021 at 09:13:02AM +0200, Bjørn Mork wrote:
> > Ruben Safir writes:
> >
> > > OS's shouldn't need anything from a boot loader.
> >
> > Why do you need a bootloader then?
>
> To boot and that is it. It is a hardware
On Thu, Sep 23, 2021 at 04:41:28AM -0400, Ruben Safir wrote:
> On Thu, Sep 23, 2021 at 09:32:00AM +0200, Bjørn Mork wrote:
> > Ruben Safir writes:
> >
> > > I really just want to know what efi varriables exist and why we have a
> > > sys file for them
> >
> > The "why" question is answered
1 - 100 of 1183 matches
Mail list logo