Re: Problem using git send-email with yahoo and hotmail

2024-10-03 Thread Manuel Quintero F
Thanks, I've checked that page hundreds of times, and I've already tried what it said about Yahoo mail, but it didn't work for me. I gave it another try, and I think the mistake I made was that I copied and pasted the password, now I wrote it by hand and now it works. El jue, 3 oct 2024 a las 17:4

Re: Problem using git send-email with yahoo and hotmail

2024-10-03 Thread Alison Schofield
On Thu, Oct 03, 2024 at 05:03:27PM -0700, Manuel Quintero F wrote: > Hello, I would like to use Yahoo to send patches via git send-email, > but I get the following error: > Newbies have added notes to this document showing how to set up email. Yahoo is included. Maybe that will help you. https:/

Re: Contributing to linux kernel

2024-10-03 Thread Philipp Hortmann
On 10/3/24 10:21, ömer bulut wrote: Hi Philip, Thanks for your quick reply. I just love it how this community works. Actually i look to kernelnewbie web page previously. I also watch gregs youtube videos ( https://www.youtube.com/watch?v=LLBrBBImJt4&t=414s ) and i read some books that recommend

Re: Contributing to linux kernel

2024-10-02 Thread Philipp Hortmann
On 10/2/24 16:57, ömer bulut wrote: Hi, I have spent almost 10 years for writing device drivers so i want to contribute to linux kernel. There are some pmic drivers from Texas Instruments like bq24190 etc in the linux source tree. Would writing driver for bq25120a be helpful or should i begin w

Re: Testing 6.11.0 - No audio

2024-09-29 Thread Aruna Hewapathirane
>On Sat, Sep 28, 2024 at 7:33 PM Manuel Quintero F wrote: >Thanks for the tip! Hi Manuel, once you get the kernel working the way you want you may want to explore 'make localmodconfig' This is particularly useful when you: - Want to reduce the kernel size by stripping out unused modules and

Re: Testing 6.11.0 - No audio

2024-09-28 Thread Manuel Quintero F
Thanks for the tip! El sáb, 28 sept 2024 a las 9:34, Aruna Hewapathirane () escribió: > > It looks like there are a few potential issues contributing to the sound > problem: > > ALSA not detecting sound cards: > The message [ 0.461483] No soundcards found indicates that ALSA (Advanced > Linux So

Re: Testing 6.11.0 - No audio

2024-09-28 Thread Aruna Hewapathirane
It looks like there are a few potential issues contributing to the sound problem: 1. *ALSA not detecting sound cards*: The message [ 0.461483] No soundcards found indicates that ALSA (Advanced Linux Sound Architecture) didn't detect any sound devices. This might be due to a missing

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Greg KH
On Fri, Sep 27, 2024 at 01:47:01PM -0700, Manuel Quintero F wrote: > Hi. > > i used $make defconfig As you have found out, defconfig works for almost no one, please don't do that. There's lots of documentation out there for building a new kernel image, I suggest using the one on the kernelnewbi

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Valdis Klētnieks
On Fri, 27 Sep 2024 17:22:41 -0700, Manuel Quintero F said: > I already have audio with the compiled kernel. I copied the > configuration /boot/config-6.10.9-amd64 > > I had to do it by hand, copy it and rename it to .config because the > command shown in https://kernelnewbies.org/KernelBuild, does

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Manuel Quintero F
gt; On Fri, Sep 27, 2024 at 2:47 PM Ezra Buehler wrote: > > > > Hi Manuel, > > > > On 27 Sep 2024, at 22:47, Manuel Quintero F wrote: > > > > Hi. > > > > i used $make defconfig > > > > > > On Debian, you should be able to find the c

Re: Testing 6.11.0 - No audio

2024-09-27 Thread james young
47, Manuel Quintero F wrote: > > Hi. > > i used $make defconfig > > > On Debian, you should be able to find the config for your kernel in the /boot > directory. > > Anyway, if it is just about re-building your kernel, you might want to refer > to resources like: &g

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Ezra Buehler
Hi Manuel,On 27 Sep 2024, at 22:47, Manuel Quintero F wrote:Hi.i used  $make defconfigOn Debian, you should be able to find the config for your kernel in the /boot directory.Anyway, if it is just about re-building your kernel, you might want to refer to resources like:Debian Linux Kernel

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Manuel Quintero F
Hi. i used $make defconfig El vie, 27 sept 2024 a las 2:16, james young () escribió: > > Did you use the config file from Debian to build your kernel? > > Are the loaded modules are the same between the two? > > -James > > On Thu, Sep 26, 2024 at 11:13 PM Greg KH wrote: > > > > On Thu, Sep 26,

Re: Wouldn't Zig be more suitable than rust? In the Linux kernel

2024-09-27 Thread Richard
What do you think? I'd like to add that sociological and organisational matters are often (and I think here too) more important than technical reasons. If one of the languages has a bigger community (and more importantly more people with the motivation to make it work for linux) that's wha

Re: Testing 6.11.0 - No audio

2024-09-27 Thread james young
Did you use the config file from Debian to build your kernel? Are the loaded modules are the same between the two? -James On Thu, Sep 26, 2024 at 11:13 PM Greg KH wrote: > > On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote: > > I compiled version 6.10.9, which is the debian ker

Re: Testing 6.11.0 - No audio

2024-09-27 Thread Greg KH
On Thu, Sep 26, 2024 at 04:58:20PM -0700, Manuel Quintero F wrote: > I compiled version 6.10.9, which is the debian kernel version, to see > if it worked, but it gave me the same audio problem. > > Is there something in debian kernel 6.10.9 that makes the audio work? > What could it be? Odds are

Re: Testing 6.11.0 - No audio

2024-09-26 Thread Manuel Quintero F
I compiled version 6.10.9, which is the debian kernel version, to see if it worked, but it gave me the same audio problem. Is there something in debian kernel 6.10.9 that makes the audio work? What could it be? El jue, 26 sept 2024 a las 14:09, Manuel Quintero F () escribió: > > Hi Greg, the same

Re: Testing 6.11.0 - No audio

2024-09-26 Thread Manuel Quintero F
Hi Greg, the same thing happens with 6.10.11. Note: works fine with the latest debian testing kernel. El jue, 26 sept 2024 a las 1:47, Greg KH () escribió: > > On Wed, Sep 25, 2024 at 03:33:00PM -0700, Manuel Quintero F wrote: > > Hi, I compiled the mainline kernel 6.11.0, as a result the audio do

Re: Testing 6.11.0 - No audio

2024-09-26 Thread Greg KH
On Wed, Sep 25, 2024 at 03:33:00PM -0700, Manuel Quintero F wrote: > Hi, I compiled the mainline kernel 6.11.0, as a result the audio does > not work, I don't know if it is a kernel error. Looking at the dmesg I > notice the following: > > [0.461474] Loaded X.509 cert 'wens: > 61c038651aabdcf9

Re: How to contribute to the linux kernel

2024-09-24 Thread Gustavo A. R. Silva
On 24/09/24 04:14, Qianqiang Liu wrote: Hi, Thank you all for the good advice. I have now successfully submitted some small changes to the kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9b4af913465cc5f903227237d833b4911430fd97 https://git.kernel.org/pub

Re: How to contribute to the linux kernel

2024-09-23 Thread Qianqiang Liu
Hi Malatesh, > Can you help me to contribute, what I needs to do ? You can refer to this mail thread. The advice from Gustavo is pretty useful. Also, there is a document for submitting your first kernel patch: https://kernelnewbies.org/FirstKernelPatch -- Best, Qianqiang Liu

Re: How to contribute to the linux kernel

2024-09-23 Thread Malatesh
Hi Qianqiang, Nice to see your commits, Great. I have tried many times but could not do any contribution till now. Can you help me to contribute, what I needs to do ? Regards, Malatesh On Tue, 24 Sept, 2024, 7:44 am Qianqiang Liu, wrote: > Hi, > > Thank you all for the good advice. > I h

Re: How to contribute to the linux kernel

2024-09-23 Thread Qianqiang Liu
Hi, Thank you all for the good advice. I have now successfully submitted some small changes to the kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9b4af913465cc5f903227237d833b4911430fd97 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm

Re: Wouldn't Zig be more suitable than rust? In the Linux kernel

2024-09-23 Thread Jeffrey Walton
On Mon, Sep 23, 2024 at 5:08 PM Manuel Quintero Fonseca wrote: > > The Zig compiler is compatible with C, Zig code is cleaner than Rust, > and they are both equally secure. > > What do you think? The kernel needs more than Rust's incomplete x86_64 and i686 support. Rust would actually have to hav

Re: Wouldn't Zig be more suitable than rust? In the Linux kernel

2024-09-23 Thread Joshua Rose
> The Zig compiler is compatible with C So is Rust. > Zig code is cleaner than Rust, The standard library is a bit more readable, sure, but the overall 'cleanliness' of either language is up for debate. > and they are both equally secure. If by 'secure' you mean safer, I believe Rust outshines Zi

Re: Bug across major branches, advice for bisecting and contributing

2024-09-13 Thread Siddh Raman Pant
On Sat, 14 Sep 2024 08:03:29 +0530, James young wrote: > I've hit an odd CIFS corruption issue, in certain contexts, on ARM, > dependent on the Linux kernel version. I have a repeatable test. It > looks like: > * Debian 11, bullseye, kernel 6.1: ok > * Debian 12, bookworm, kernel 6.6: impacted > *

Re: data relocation to !ENDBR

2024-09-13 Thread jim . cromie
On Tue, Sep 10, 2024 at 12:49 PM wrote: > [jimc@frodo b0-dd]$ make > GEN Makefile > CALL../scripts/checksyscalls.sh > DESCEND objtool > INSTALL libsubcmd_headers > LD vmlinux.o > vmlinux.o: warning: objtool: .export_symbol+0x2c1d8: data relocation > to !ENDBR: stpcpy+0x0 >

Re: How to find all PCI/ USB/ drivers installed on my Ubuntu?

2024-09-12 Thread Greg KH
On Thu, Sep 12, 2024 at 10:23:57AM +0530, S wrote: > Like lsusb will tell me all USB devices. But now let's say I have modules > that are loading USB drivers or high level USB drivers. How to find that > list. Look at the driver names provided by "lsusb -tv" > Same question for PCI Look at the d

Re: TIP

2024-09-10 Thread Valentin Vidić
On Tue, Sep 10, 2024 at 11:25:02AM +1000, Joshua Rose wrote: > If anyone else stumbles upon the 'TIP' acronym in future, it might be > helpful to add it to the Kernel Glossary[1]. I would appreciate hearing > the community's thoughts on this idea. Or edit the description to describe the current pu

Re: TIP

2024-09-09 Thread Joshua Rose
> Apparently it stands for "Thomas, Ingo, Peter" because it started out > as a shared tree for Thomas Gleixner, Ingo Molnar and Peter Anvin. Interesting! If anyone else stumbles upon the 'TIP' acronym in future, it might be helpful to add it to the Kernel Glossary[1]. I would appreciate hearing t

Re: TIP

2024-09-09 Thread Konstantin Ryabitsev
On Mon, Sep 09, 2024 at 06:32:36PM GMT, Constantine Shulyupin wrote: > What does "TIP" stand for in the repository > https://git.kernel.org/pub/scm/linux/kernel/git/tip/? This made me curious, so I asked around. Apparently it stands for "Thomas, Ingo, Peter" because it started out as a shared tree

Re: TIP

2024-09-09 Thread Greg KH
On Mon, Sep 09, 2024 at 06:32:36PM +0300, Constantine Shulyupin wrote: > What does "TIP" stand for in the repository > https://git.kernel.org/pub/scm/linux/kernel/git/tip/? "Thomas" "Ingo" "Peter", the original maintainers of that tree (i.e. the x86 maintainers tree, which has now grown to other p

Re: Question regarding appropriate mailing list

2024-09-03 Thread Greg KH
On Tue, Sep 03, 2024 at 06:26:17PM +0200, Patryk wrote: > Hi, > What would be the most appropriate mailing list to ask about pmbus > drivers and power management devices like ltc29**. I'm trying to > bring-up some LTC devices using existing drivers and I've encountered > some problems while reading

Re: How to contribute to the linux kernel

2024-09-02 Thread Qianqiang Liu
Hi Gustavo, Thanks! I will take a look at it. On Mon, Sep 02, 2024 at 08:11:57PM -0600, Gustavo A. R. Silva wrote: > Hi! > > > One day, I watched a video from Greg: https://youtu.be/LLBrBBImJt4, and > > I started wondering if maybe I could contribute to the Linux kernel. > > > If you are inter

Re: How to contribute to the linux kernel

2024-09-02 Thread Gustavo A. R. Silva
Hi! One day, I watched a video from Greg: https://youtu.be/LLBrBBImJt4, and I started wondering if maybe I could contribute to the Linux kernel. If you are interested in security, fixing Coverity issues is a great way to contribute to the kernel. Here are some presentations that you might fin

Re: How to contribute to the linux kernel

2024-09-02 Thread Qianqiang Liu
Hi Philipp, Thanks, I will prepare a patch for it. Best, Qianqiang Liu On Mon, Sep 02, 2024 at 07:49:25PM +0200, Philipp Hortmann wrote: > On 8/31/24 10:17, Qianqiang Liu wrote: > >  > > Hi all, > > > > I am an embedded software engineer. I use Linux every day, and I > > appreciate its neatne

Re: How to contribute to the linux kernel

2024-09-02 Thread Philipp Hortmann
On 8/31/24 10:17, Qianqiang Liu wrote:  Hi all, I am an embedded software engineer. I use Linux every day, and I appreciate its neatness and simplicity. Hi Qiangiang, it seems that the driver rtl7823bs has the following enum p2p_wpsinfo struct getcountjudge_rsp that is not used. It mak

Re: How to contribute to the linux kernel

2024-08-31 Thread Qianqiang Liu
Hi Greg, Thanks a lot. Best, Qianqiang Liu On Sat, Aug 31, 2024 at 07:32:04PM +0200, Greg KH wrote: > On Sat, Aug 31, 2024 at 04:17:35PM +0800, Qianqiang Liu wrote: > >  > > Hi all, > > > > I am an embedded software engineer. I use Linux every day, and I appreciate > > its neatness and simpl

Re: How to contribute to the linux kernel

2024-08-31 Thread Greg KH
On Sat, Aug 31, 2024 at 04:17:35PM +0800, Qianqiang Liu wrote: >  > Hi all, > > I am an embedded software engineer. I use Linux every day, and I appreciate > its neatness and simplicity. > > One day, I watched a video from Greg: https://youtu.be/LLBrBBImJt4, and I > started wondering if maybe

Re: Query Regarding Stack-Out-of-Bounds Error

2024-08-31 Thread Muni Sekhar
On Tue, Aug 27, 2024 at 1:16 AM Valdis Klētnieks wrote: > > On Mon, 26 Aug 2024 18:04:39 +0530, Muni Sekhar said: > > > static struct cmd_info *find_cmd_entry_any_ring(struct intel_gvt *gvt, > >unsigned int opcode, int rings) > > { > > struct cmd_info *info = NULL; > >

Re: Reproducing syzbot

2024-08-30 Thread Dongliang Mu
On Sat, Aug 31, 2024 at 8:29 AM Kenneth Adam Miller wrote: > > Is there any way to obtain a downloadable version of something executable > from syzbot that demonstrates the errors encountered? If I understand correctly, you can refer to syzbot_assets[1]. BTW, in my mind, this email should be se

Re: Query Regarding Stack-Out-of-Bounds Error

2024-08-27 Thread Muni Sekhar
On Tue, Aug 27, 2024 at 1:16 AM Valdis Klētnieks wrote: > > On Mon, 26 Aug 2024 18:04:39 +0530, Muni Sekhar said: > > > static struct cmd_info *find_cmd_entry_any_ring(struct intel_gvt *gvt, > >unsigned int opcode, int rings) > > { > > struct cmd_info *info = NULL; > >

Re: Query Regarding Stack-Out-of-Bounds Error

2024-08-26 Thread Valdis Klētnieks
On Mon, 26 Aug 2024 18:04:39 +0530, Muni Sekhar said: > static struct cmd_info *find_cmd_entry_any_ring(struct intel_gvt *gvt, >unsigned int opcode, int rings) > { > struct cmd_info *info = NULL; > unsigned int ring; > ... > for_each_set_bit(ring, (u

Re: Separating driver and documentation changes

2024-08-22 Thread Greg KH
On Thu, Aug 22, 2024 at 10:29:32AM +0200, Patryk Biel wrote: > Hi > I'm going to send a patch that extends existing driver with support for a new > variant of the existing device. The changes in the drivr code are rather > small, around 100 lines of code. Apart from the driver changes I > would lik

Re: Request for information on using NVMe under linux

2024-07-03 Thread Rémi ESSAISSI
hoping not to spam: fwupd can't flash drives ? it could be safer for you . ( https://github.com/fwupd/fwupd ) Le 03/07/2024 à 12:24, Jeffrey Walton a écrit : On Wed, Jul 3, 2024 at 4:21 AM Jamaleddine AMGHAR wrote: I am experiencing an abnormal performance issue with my Samsung SSD 970 EV

Re: Request for information on using NVMe under linux

2024-07-03 Thread Jeffrey Walton
On Wed, Jul 3, 2024 at 4:21 AM Jamaleddine AMGHAR wrote: > > I am experiencing an abnormal performance issue with my Samsung SSD 970 EVO > Plus 1TB (2B2QEXM7) on my Ubuntu 24.04 LTS system. My setup includes a 12th > Gen Intel Core i7-12700 x 20 processor, and the SSD is connected to an M.2 > M

Re: Request for information on using NVMe under linux

2024-07-03 Thread Richard
There are those ubuntu hwe kernels, those might help -- Richard ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Request for information on using NVMe under linux

2024-07-03 Thread Rémi ESSAISSI
I suggest you start by checking the kernel version, ubuntu is kinda like debian, it may be an "old" one (relatively) especially LTS ... . big chances that updating your kernel will be more than sufficient . Le 03/07/2024 à 10:20, Jamaleddine AMGHAR a écrit : Hello, I am experiencing an abno

Re: sanity check typo patch "quired"

2024-07-01 Thread daniel watson
Thanks! "Ricardo B. Marliere" writes: > From a quick glance at the git blame, seems that "docs: admin-guide: > ..." or ever "docs/admin-guide/mm" should suit better. Perhaps mention > in the subject line that its a typo fix aswell. I ended up going with this subject: Subject: [PATCH] docs/adm

Re: sanity check typo patch "quired"

2024-06-29 Thread Ricardo B. Marliere
On 26 Jun 24 21:30, daniel watson wrote: > > here's a patch to fix a typo in the memory management docs. i'm > sending to this mailing list first for a sanity check. > > > > From: Daniel Watson > To: Jonathan Corbet > ,linux-...@vger.kernel.org,linux-ker...@vger.kernel.org > Date: Wed, 26 Ju

Re: How to accout max_rss precisely

2024-06-16 Thread Heran Yang
Hi! I do this test leverage systemd-run. The command likes: systemd-run --user --unit test --wait ./a Though there are some accounting bugs in systemd-run (check PR #33258), the accounting value is aligned with cgroups. The cgroups creating step is like this: 1. Setup a cgroup (now it has no pr

Re: How to accout max_rss precisely

2024-06-16 Thread Mulyadi Santosa
Hi I think the key here is : when exactly cgroup is created for your program? On Sun, Jun 16, 2024, 15:53 Heran Yang wrote: > Hi, and thanks for your reply. I totally forgot to take the dynamic loader > into consideration, which is my bad. > > But another problem is that the peak value cannot

Re: How to accout max_rss precisely

2024-06-16 Thread Heran Yang
Hi, and thanks for your reply. I totally forgot to take the dynamic loader into consideration, which is my bad. But another problem is that the peak value cannot align with the max_rss getting from `getrusage` function, which is ~1000KiB. I guess that it has some connection with max_rss inheriting

Re: How to accout max_rss precisely

2024-06-03 Thread Valdis Klētnieks
On Sat, 01 Jun 2024 15:01:32 +0800, 杨贺然 said: > // a.c > int main() {} > > It shows that `memory.peak` of this program is ~500KiB, which does not make > sense to me. Makes sense to me... [~] cat > testnull.c int main() {} [~] gcc testnull.c [~] ldd a.out linux-vdso.so.1 (0x7ef

Re: Seeking Assistance with Spin Lock Usage and Resolving Hard LOCKUP Error

2024-05-17 Thread jim . cromie
On Thu, May 9, 2024 at 8:39 AM Muni Sekhar wrote: > > Dear Linux Kernel Community, > > I am reaching out to seek assistance regarding the usage of spin locks > in the Linux kernel and to address a recurring issue related to hard > LOCKUP errors that I have encountered during testing. > build your

Re: Handling I2C eeprom devices

2024-05-17 Thread jim . cromie
On Fri, May 17, 2024 at 7:35 AM Patryk wrote: > > Hi, > I've got a question regarding how to handle I2C eeprom devices. I see > that in the kernel/drivers/misc/eeprom there are not that many drivers > available. Does it mean that they support various chips that do not > necessarily come from one v

Re: Handling I2C eeprom devices

2024-05-17 Thread Rémi ESSAISSI
Le 17/05/2024 à 15:33, Patryk a écrit : Hi, I've got a question regarding how to handle I2C eeprom devices. I see that in the kernel/drivers/misc/eeprom there are not that many drivers available. Does it mean that they support various chips that do not necessarily come from one vendor? Looking

Re: [RFC PATCH] kvm: replace spaces with a tab

2024-05-16 Thread Greg KH
On Thu, May 16, 2024 at 10:31:45AM +0100, Mohamed Karaoui wrote: > Hi list, > > This is an attempt to get a feeling of sending a first patch. Please feel > free to comment. > > I have few questions: > > - I have build this patch against the torvalds/linux.git. Does it matter > which tree I use a

Re: Looking for advise

2024-05-15 Thread Rémi ESSAISSI
Well :) you asked for it ! We are some Linux users stuck with a USB/VGA-HDMI device, the FL2000 : https://github.com/FrescoLogic/FL2000 the driver "did" work once (kernel version) Perso I havent had the time yet to read that book . I am sure more than one will thank you if you could lo

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-13 Thread Alan Stern
On Mon, May 13, 2024 at 11:14:44PM +0530, Muni Sekhar wrote: > In the context of the Linux kernel and USB devices, what are the > similarities and differences between usbfs and sysfs? They are totally different. usbfs gives you direct communication with the various USB devices on your system. s

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-13 Thread Muni Sekhar
On Tue, May 7, 2024 at 5:14 PM Muni Sekhar wrote: > > On Tue, May 7, 2024 at 1:20 AM Alan Stern wrote: > > > > On Mon, May 06, 2024 at 09:44:52PM +0530, Muni Sekhar wrote: > > > On Mon, May 6, 2024 at 7:59 PM Alan Stern > > > wrote: > > > > > > > > On Mon, May 06, 2024 at 04:44:30PM +0530, Muni

Re: Seeking Assistance with Spin Lock Usage and Resolving Hard LOCKUP Error

2024-05-10 Thread Muni Sekhar
nterrupt, when should we use the > >spin_lock_irqsave/spin_unlock_irqrestore APIs? > > In my experience, the interrupts are masked by the infrastructure before > invoking the > interrupt service routine. So unless you explicitly re-enable them, there > shouldn't be > a nested inter

Re: Seeking Assistance with Spin Lock Usage and Resolving Hard LOCKUP Error

2024-05-09 Thread Billie Alsup (balsup)
, the interrupts are masked by the infrastructure before invoking the interrupt service routine.  So unless you explicitly re-enable them, there shouldn't be a nested interrupt for the same interrupt number. It is the code run at process context that must be protected using the irqsave/irqresto

Re: Seeking Assistance with Spin Lock Usage and Resolving Hard LOCKUP Error

2024-05-09 Thread Muni Sekhar
r critical section. > > The use of irqsave/irqrestore within the isr itself is ok, although perhaps > unnecessary. It depends on whether the interrupt can occur again while you > are servicing the interrupt (whether on this cpu or another). Usually (?) > the same interrupt do

Re: Seeking Assistance with Spin Lock Usage and Resolving Hard LOCKUP Error

2024-05-09 Thread Billie Alsup (balsup)
hile you are servicing the interrupt (whether on this cpu or another). Usually (?) the same interrupt does not nest, unless you have explicitly coded to allow it (for example, by acknowledging and re-enabling the interrupt early in your ISR). Certainly the spinlock is necessary to protect the cr

Re: Submitting a selftest patch

2024-05-08 Thread Tom Mitchell
Ask the maintainers! In an ideal world there would be a directory or package of self tests associated with the subsystem. Alternatively: If you have an account on git make a "My work is GPL3" statement file then clone or fork and add your patch and add the self test. A personal fork gives you a pl

Re: Submitting a selftest patch

2024-05-08 Thread Siddh Raman Pant
On Wed, 08 May 2024 08:08:20 +0530 Camila Alvarez wrote: > I’ve been discussing a bug with one of the maintainers of a subsystem. > At one point I was asked to craft a selftest for the issue.  > > My question is: how do I send the patch with the selftest? Do I need > to reference the email where

Re: Submitting a selftest patch

2024-05-08 Thread Jules Irenge
That 's cool. I would send a patch then a selftest separately but could ask the maintainer. Jules Irenge Open source contributor: https://bit.ly/40GblaQ Blog: https:// www.julesirenge.blog twitter: @jules_irenge strava: https://www.strava.com/athletes/7239

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-08 Thread Alan Stern
On Wed, May 08, 2024 at 11:08:11AM +0530, Muni Sekhar wrote: > Thank you for the clear explanation on how to identify devices > associated with root hubs. > Could you please provide clarity on whether the root hub devices have > attribute files in the devices sysfs directory? Upon checking the > sy

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-07 Thread Muni Sekhar
On Tue, May 7, 2024 at 11:21 PM Alan Stern wrote: > > On Tue, May 07, 2024 at 10:08:13PM +0530, Muni Sekhar wrote: > > Now, I can verify USB device auto-suspend and auto-resume through the > > kernel log. > > > > In my test system, I found three buses "Bus 001, 002, and 003" using > > the lsusb co

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-07 Thread Alan Stern
On Tue, May 07, 2024 at 10:08:13PM +0530, Muni Sekhar wrote: > Now, I can verify USB device auto-suspend and auto-resume through the > kernel log. > > In my test system, I found three buses "Bus 001, 002, and 003" using > the lsusb command. > > The USB device I want to test is located on "Bus 002

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-07 Thread Muni Sekhar
On Tue, May 7, 2024 at 7:50 PM Alan Stern wrote: > > On Tue, May 07, 2024 at 05:14:25PM +0530, Muni Sekhar wrote: > > Thank you, it is very helpful. > > > > To verify the USB device suspend\resume functionality, I configured > > the USB Power Management variables as follows: > > > > # cat /sys/bus

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-07 Thread Alan Stern
On Tue, May 07, 2024 at 05:14:25PM +0530, Muni Sekhar wrote: > Thank you, it is very helpful. > > To verify the USB device suspend\resume functionality, I configured > the USB Power Management variables as follows: > > # cat /sys/bus/usb/devices/2-1.7/power/wakeup > enabled > > # cat /sys/bus/us

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-07 Thread Muni Sekhar
On Tue, May 7, 2024 at 1:20 AM Alan Stern wrote: > > On Mon, May 06, 2024 at 09:44:52PM +0530, Muni Sekhar wrote: > > On Mon, May 6, 2024 at 7:59 PM Alan Stern wrote: > > > > > > On Mon, May 06, 2024 at 04:44:30PM +0530, Muni Sekhar wrote: > > > > While we have successfully converted most of the

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-06 Thread Alan Stern
On Mon, May 06, 2024 at 09:44:52PM +0530, Muni Sekhar wrote: > On Mon, May 6, 2024 at 7:59 PM Alan Stern wrote: > > > > On Mon, May 06, 2024 at 04:44:30PM +0530, Muni Sekhar wrote: > > > While we have successfully converted most of the USB device driver > > > functionality from kernel space to use

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-06 Thread Muni Sekhar
On Mon, May 6, 2024 at 7:59 PM Alan Stern wrote: > > On Mon, May 06, 2024 at 04:44:30PM +0530, Muni Sekhar wrote: > > Dear Linux USB Subsystem Community, > > > > I hope this email finds you well. We are currently working on a USB > > device driver in the Linux kernel space, which supports the > >

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-06 Thread Muni Sekhar
On Mon, 6 May, 2024, 7:59 pm Alan Stern, wrote: > On Mon, May 06, 2024 at 04:44:30PM +0530, Muni Sekhar wrote: > > Dear Linux USB Subsystem Community, > > > > I hope this email finds you well. We are currently working on a USB > > device driver in the Linux kernel space, which supports the > > su

Re: Seeking Assistance: Implementing USB Device Suspend/Resume in User Space Driver

2024-05-06 Thread Alan Stern
On Mon, May 06, 2024 at 04:44:30PM +0530, Muni Sekhar wrote: > Dear Linux USB Subsystem Community, > > I hope this email finds you well. We are currently working on a USB > device driver in the Linux kernel space, which supports the > suspend/resume functionality for a USB device using the struct

Re: ALSA: usb-audio: Adding mixer controls to Mbox3

2024-05-06 Thread Takashi Iwai
On Wed, 01 May 2024 16:31:35 +0200, Manu wrote: > > Thank you for all your help, Takashi! > > I would like to add the hardware mixer controls for Mbox3. > I have already identified every control in the function "mbox3_setup_defaults" > of "quirks.c", but I am unsure about the structure needed to

Re: Adding a device support

2024-05-02 Thread Kwanghoon Son
> I have no idea (yet?) on how to do that, > > I program a little, but not a driver/kernel coder at all ... . > > This message is like a request where I could be involved ... . Look at GitHub Issue 94. Already someone tried build in linux 6.2. If you just want to use the driver, post an issue on

Re: Adding a device support

2024-05-02 Thread Rémi ESSAISSI
Le 02/05/2024 à 16:00, Greg KH a écrit : On Thu, May 02, 2024 at 01:47:21PM +0200, Rémi ESSAISSI wrote: Hello I bought without checking its support a USB->VGA/HDMI adapter. the Fresco Logic FL2000 . Some code is at https://github.com/FrescoLogic/FL2000 . But unfortunately unusable as is.

Re: Adding a device support

2024-05-02 Thread Greg KH
On Thu, May 02, 2024 at 01:47:21PM +0200, Rémi ESSAISSI wrote: > Hello > > I bought without checking its support a USB->VGA/HDMI adapter. > > the Fresco Logic FL2000 . > > Some code is at https://github.com/FrescoLogic/FL2000 . > > But unfortunately unusable as is. Why not? > I would like to

Re: Userspace or kernelspace driver once again

2024-04-26 Thread Tom Mitchell
You asked what it depends on. On Sun, Apr 21, 2024 at 5:36 AM Patryk wrote: > > Suppose that you want to use a driver that controls fans ,let's say > max31785. You have two options to chose: > - kernel space driver that is already available in mainline linux > - userspace driver that comes from Ha

Re: git send-email and gmail smtp

2024-04-17 Thread Konstantin Ryabitsev
On Wed, Apr 17, 2024 at 10:30:56AM -0600, jim.cro...@gmail.com wrote: > so I tried to submit a patchset via sendemail, > and ran aground on authorization. > > its been a while since I sent from this computer, > laptop power cord is cut :-( > but failure wording is ambiguous > > 5.7.8 Username and

Re: git send-email and gmail smtp

2024-04-17 Thread Siddh Raman Pant
On Wed, 17 Apr 2024 22:00:56 +0530, Jim Cromie wrote: > so I tried to submit a patchset via sendemail, > and ran aground on authorization. > > its been a while since I sent from this computer, > laptop power cord is cut :-( > but failure wording is ambiguous > > 5.7.8 Username and Password not ac

Re: git send-email and gmail smtp

2024-04-17 Thread Ezra Buehler
Hi, > On 17 Apr 2024, at 18:34, jim.cro...@gmail.com wrote: > > so I tried to submit a patchset via sendemail, > and ran aground on authorization. > > its been a while since I sent from this computer, > laptop power cord is cut :-( > but failure wording is ambiguous > > 5.7.8 Username and Pass

Re: uboot and kernel entry point, load address for booting kernel from FIT image

2024-04-12 Thread Richard
Hi, System.map will not help you there, it is a map of all the Symbols (var and function names) inside the kernel, and mostly necesarry for debug output. Ich think the load address you mean is dependent on your hardware and CPU, you should find it in board documentation. In general "Masterin

Re: Seeking help addressing maintainer objections

2024-04-03 Thread Bjørn Mork
Ian Pilcher writes: > It's not absolutely needed, but it does make it easier to unlink an LED > from all devices by using the names of the symlinks in the LED's > linked_devices directory, which will be kernel names. Yes, I agree that things are much easier if those names can be fed directly int

Re: Seeking help addressing maintainer objections

2024-04-03 Thread Ian Pilcher
On 4/3/24 06:38, Bjørn Mork wrote: Ian Pilcher writes: The maintainer of the LEDs subsystem considers this interface to be "crazy", but he has not suggested any alternative.[3] I read a strong suggestion that one of the unlink interfaces is dropped. You should probably read "crazy" as "unju

Re: Seeking help addressing maintainer objections

2024-04-03 Thread Bjørn Mork
Ian Pilcher writes: > The maintainer of the LEDs subsystem considers this interface to be > "crazy", but he has not suggested any alternative.[3] I read a strong suggestion that one of the unlink interfaces is dropped. You should probably read "crazy" as "unjustified". > (I have not been able

Re: Coding style when using atomic_dec_and_test

2024-03-30 Thread Valdis Klētnieks
On Sat, 30 Mar 2024 21:52:29 -0300, Camila Alvarez Inostroza said: > I've seen two ways of handling the resulting operation, below are a couple > of examples: > (1) if (!atomic_dec_and_test(&rd->refcount)) >return; > call_rcu(&rd->rcu, free_rootdomain); > > (2) if (atomic64_dec_

Re: Controlling the same I2C device from user and kernel space

2024-03-26 Thread Patryk
Hi again, a small correction > part) using spidev driver and still be able to develop a kernel driver Of course, I meant i2c-dev, not spidev... Best regards Patryk ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbie

Re: Seeking Suggestions for Open Source Projects to Contribute to as a New Contributor

2024-03-11 Thread Pragati Ghatte
Hi Ayan, Thanks a lot for your guidance and the links! I'll check out the Xen project and dive into those beginner-friendly tasks. Your support means a lot! Best regards, Pragati On Mon, 11 Mar 2024 at 19:19, AYAN KUMAR HALDER wrote: > Hi Pragati, > > Glad to hear your interest. > > If working

Re: Which tree to track: linux-next or staging?

2024-03-11 Thread Jonathan Bergh
On Mon, Mar 11, 2024 at 09:56:06AM -0400, Konstantin Ryabitsev wrote: > On Sat, Mar 09, 2024 at 03:49:15PM +0100, Jonathan Bergh wrote: > > I have had the opportunity to submit a few patches, which has been > > really fun. However, a while back i submitted patches for fixes that i > > realised afte

Re: Which tree to track: linux-next or staging?

2024-03-11 Thread Konstantin Ryabitsev
On Sat, Mar 09, 2024 at 03:49:15PM +0100, Jonathan Bergh wrote: > I have had the opportunity to submit a few patches, which has been > really fun. However, a while back i submitted patches for fixes that i > realised after had already been patched in GregKH tree ... and i > realised i had been deve

Re: Seeking Suggestions for Open Source Projects to Contribute to as a New Contributor

2024-03-11 Thread AYAN KUMAR HALDER
Hi Pragati, Glad to hear your interest. If working in hypervisors excite you, then you can have a look at Xen project "https://xenproject.org";. You would need to subscribe to the xen-devel mailing list. There are some things which a newbie can get started with. For eg https://lore.kernel.org/al

Re: Kernelnewbies

2024-03-01 Thread Turritopsis Dohrnii Teo En Ming
On Thursday, February 8th, 2024 at 11:32 PM, Greg KH wrote: > 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 > >

Re: PHY drivers

2024-02-28 Thread achraf boussetta
Yes, a generic software reads at first the ID of the Phy using MDIO and then if an ID has matched specific functions will be called. Take a look at the realtek file for your reference: https://elixir.bootlin.com/linux/latest/source/drivers/net/phy/realtek.c#L882 On Wed, 28 Feb 2024 at 15:49, Pat

Re: Before submitting a driver for Casper Excalibur Laptops

2024-02-21 Thread Greg KH
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 fi

Re: firefox does not start with 6.8-rc

2024-02-11 Thread Greg KH
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 foru

  1   2   3   4   5   6   7   8   9   10   >