udev & modalias files

2016-06-03 Thread Muni Sekhar
Hi, I see lot of modalias files under /sys directory. For e.g: # cat /sys/devices/pci:00/:00:1c.0/:02:00.0/modalias pci:v1556dsv4000sdbc08sc05i01 I would like to know which part of the kernel module creates sysfs modalias file? How does udev load

Re: udev & modalias files

2016-06-04 Thread Muni Sekhar
On Sat, Jun 4, 2016 at 12:20 AM, Bjørn Mork <bj...@mork.no> wrote: > Muni Sekhar <munisekhar...@gmail.com> writes: > >> I see lot of modalias files under /sys directory. >> >> For e.g: >> >> # cat /sys/devic

Call Trace analysis doubt

2016-06-15 Thread Muni Sekhar
Hi, Let’s assume WARNING message says something like: [0.00] Call Trace: [0.00] [] dump_stack+0x45/0x56 [0.00] [] warn_slowpath_common+0x7d/0xa0 [0.00] [] warn_slowpath_fmt_taint+0x44/0x50 [0.00] [] ? acpi_tb_acquire_table+0x3e/0x6c [

Re: inline functions

2016-06-06 Thread Muni Sekhar
On Sat, Jun 4, 2016 at 9:08 PM, Augusto Mecking Caringi <augustocari...@gmail.com> wrote: > On Sat, Jun 4, 2016 at 11:59 AM, Muni Sekhar <munisekhar...@gmail.com> wrote: >> Hi, >> >> I tested with the below mentioned code("inline.c") to understand ab

blacklist kernel modules

2016-05-30 Thread Muni Sekhar
Hi, I need to configure blacklisting few kernel modules in multiple customer test systems. For this I added an entries in the /etc/modprobe.d/blacklist.conf and generated an initramfs image. All our test systems are having an Ubuntu distribution. I am trying to figure out other best possible

BT over SDIO

2016-04-11 Thread Muni Sekhar
Hi everybody, Does BlueZ supports for Bluetooth devices over SDIO protocol? If so any links to test procedure will be useful. -- Thanks, Sekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: BT over SDIO

2016-04-11 Thread Muni Sekhar
On Mon, Apr 11, 2016 at 5:30 PM, Johan Hedberg <johan.hedb...@gmail.com> wrote: > Hi Sekhar, > > On Mon, Apr 11, 2016, Muni Sekhar wrote: >> Does BlueZ supports for Bluetooth devices over SDIO protocol? >> If so any links to test procedure will be useful. > > Ther

kernel mode termios API's

2016-03-30 Thread Muni Sekhar
Hi, We are having customized serial port driver, it always sets the baud to 9600 (by configuring UART BAUD_RATE register) on device file open, but not updating the termios structure. The python code(pySerial) reads the termios parameter for baud rate and only sets the baud rate if it needs to.

Re: kernel mode termios API's

2016-03-31 Thread Muni Sekhar
On Wed, Mar 30, 2016 at 11:32 PM, Greg KH <g...@kroah.com> wrote: > On Wed, Mar 30, 2016 at 09:23:00PM +0530, Muni Sekhar wrote: >> Hi, >> >> We are having customized serial port driver, it always sets the baud >> to 9600 (by configuring UART BAUD_R

doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Muni Sekhar
Hi All, I have a doubt regarding the workqueue scheduling. I am using the workqueue for processing the Rx Interrupt data. I am calling schedule_work() on receiving the Rx interrupt from hardware. I calculated the time between calling the schedule_work() and workqueue task actually getting

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-01 Thread Muni Sekhar
. >> >> Regards! >> >> On Fri, Jul 29, 2016 at 12:44 PM, Pranay Srivastava <pran...@gmail.com> >> wrote: >>> On Fri, Jul 29, 2016 at 4:02 PM, Muni Sekhar <munisekhar...@gmail.com> >>> wrote: >>>> Hi All, >>>> >>

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-05 Thread Muni Sekhar
etween and . You should consider recording a new trace with larger buffers or with fewer events enabled." Any better ideas to catch the kernel trace event log for millisecond latency in between workqueue_queue_work & workqueue_execute_start? > > Best regards, > > 2016-08-01

How to identify the cause of " BUG: Bad page map in process python ..." kernel errors?

2017-01-18 Thread Muni Sekhar
Hi All, I am observing the following statements in the kernel log while running driver soak tests and monitoring MIPS and memory usage: [ 8350.824403] BUG: Bad page map in process python pte:00c0 pmd:950a5067 [ 8351.457234] BUG: Bad page map in process python pte:34000c0

kmalloc size limit?

2016-08-19 Thread Muni Sekhar
Hi All, I would like to know what is the maximum size limit for kmalloc() API to return a valid memory? Does the size limit varies based on the flags argument? -- Thanks, Sekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

scatter-gather doubt?

2016-09-24 Thread Muni Sekhar
Hi All, I am working on a xilinx PCIe endpoint with DMA reference block. The DMA reference block design has 2 Scatter-Gather engines, one for each DMA channel. Channel 0 is for HostMemory -> DMA_REF FIFO transfers Channel 1 is for DMA_REF FIFO -> HostMemory transfers Each scatter-gather engine

MODULE_DEVICE_TABLE type=of means?

2016-10-03 Thread Muni Sekhar
Hi All, I see that following dma engine driver uses MODULE_DEVICE_TABLE with ‘type=of’. What does ‘type=of’ means? How to trigger this driver’s probe and remove to be called? http://lxr.linux.no/linux+v4.8/drivers/dma/xilinx/zynqmp_dma.c static const struct of_device_id

Re: scatter-gather doubt?

2016-09-26 Thread Muni Sekhar
On Sun, Sep 25, 2016 at 1:02 AM, Greg Freemyer <greg.freem...@gmail.com> wrote: > On Sat, Sep 24, 2016 at 9:33 AM, Muni Sekhar <munisekhar...@gmail.com> wrote: >> Hi All, >> >> I am working on a xilinx PCIe endpoint with DMA reference block. >> >>

Why I can't find PCIe Device

2016-10-25 Thread Muni Sekhar
Hi All, I am using Adlink COM Express Type 2 module and American Megatrends Inc BIOS. I put the AMD Radeon Graphics card in the PCIe slot, but it’s not detected(lspci does not show this device) Any idea, what might be the reason for not detecting the PCIe graphics card? Is there any BIOS

what is the mostly used automation test framework

2017-04-21 Thread Muni Sekhar
Hello all, Can someone suggest what is the mostly used automation test framework for testing the linux kernel mode drivers? -- Thanks, Sekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: what is the mostly used automation test framework

2017-04-21 Thread Muni Sekhar
On Sat, Apr 22, 2017 at 8:15 AM, <valdis.kletni...@vt.edu> wrote: > On Sat, 22 Apr 2017 08:01:39 +0530, Muni Sekhar said: >> Can someone suggest what is the mostly used automation test framework >> for testing the linux kernel mode drivers? > > To test what? Devic

serial: uart_port->type

2018-05-04 Thread Muni Sekhar
Hi All, For the uart_port structure’s “type”, I see the permitted types are none, 8250, 16450, 16550, 16550A, 16650, 16650V2, 16654, 16750, 16850, 16950, and 16954 etc. For FPGA based UART hardware(it has 512 bytes FIFO and supports up to 4Mbps speed) what should be the ‘type’ value? --

Re: serial: start_tx & buffer handling

2018-05-04 Thread Muni Sekhar
On Fri, May 4, 2018 at 5:44 PM, loïc tourlonias <loic.tourlon...@gmail.com> wrote: > Hi > > On Fri, May 4, 2018 at 6:31 AM, Muni Sekhar <munisekhar...@gmail.com> wrote: >>> >>> On Fri, May 4, 2018 at 12:04 AM, Greg KH <g...@kroah.com> wrote: >>

sound: ALSA PCM Timestamps

2018-05-23 Thread Muni Sekhar
[ Please keep me in CC as I'm not subscribed to the list] Hi All, There are several time stamping functions in ALSA: snd_pcm_status_get_trigger_tstamp snd_pcm_status_get_trigger_htstamp snd_pcm_status_get_tstamp snd_pcm_status_get_htstamp snd_pcm_status_get_audio_htstamp

sound: latency and synchronization measurements

2018-05-18 Thread Muni Sekhar
[ Please keep me in CC as I'm not subscribed to the list] Hi All, I am trying to characterize the audio synchronization between two systems. There is a mechanism to route audio between two systems, we run ‘aplay’ at one system and ‘arecord’ in other system. We need to measure the time

Re: sound: latency and synchronization measurements

2018-05-18 Thread Muni Sekhar
On Fri, May 18, 2018 at 6:42 PM, Greg KH <g...@kroah.com> wrote: > On Fri, May 18, 2018 at 06:07:29PM +0530, Muni Sekhar wrote: >> [ Please keep me in CC as I'm not subscribed to the list] >> >> Hi All, >> >> I am trying to characterize the audio

Re: sound: latency and synchronization measurements

2018-05-18 Thread Muni Sekhar
audio frames\samples? > > Best regards, > > Aris > > On Fri, May 18, 2018 at 3:37 PM, Muni Sekhar <munisekhar...@gmail.com> > wrote: >> >> [ Please keep me in CC as I'm not subscribed to the list] >> >> Hi All, >> >> I am trying to

serial: start_tx & buffer handling

2018-05-03 Thread Muni Sekhar
Hi All, I’m trying to understand how user mode buffer is written to low level serial hardware registers. For this I read the kernel code and I came to know that from user mode write() API lands into kernel’s tty_write() ("drivers/tty/tty_io.c") and then it calls a uart_write()

serial: custom baud rate

2018-05-03 Thread Muni Sekhar
Hi All, >From include/asm-generic/termbits.h , I see baudrate can be one of the standard values: 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 50, 576000, 921600, 100, 1152000, 150, 200, 250, 300, 350,

Re: serial: start_tx & buffer handling

2018-05-03 Thread Muni Sekhar
On Fri, May 4, 2018 at 12:04 AM, Greg KH <g...@kroah.com> wrote: > On Thu, May 03, 2018 at 08:08:48PM +0530, Muni Sekhar wrote: >> Hi All, >> >> I’m trying to understand how user mode buffer is written to low level >> serial hardware registers. >> >&g

Re: Testing low level UART driver

2018-01-24 Thread Muni Sekhar
On Wed, Jan 24, 2018 at 8:53 PM, Greg KH <g...@kroah.com> wrote: > On Wed, Jan 24, 2018 at 08:43:56PM +0530, Muni Sekhar wrote: >> On Wed, Jan 24, 2018 at 6:52 PM, Greg KH <g...@kroah.com> wrote: >> > On Wed, Jan 24, 2018 at 06:46:06PM +0530, Muni Sekhar wrote: >&g

Re: Testing low level UART driver

2018-01-24 Thread Muni Sekhar
On Wed, Jan 24, 2018 at 6:52 PM, Greg KH <g...@kroah.com> wrote: > On Wed, Jan 24, 2018 at 06:46:06PM +0530, Muni Sekhar wrote: >> Hi All, >> >> Does Linux kernel tree has any standard utilities to test any low >> level UART driver? > > What do you mean by

sound driver reference

2018-02-23 Thread Muni Sekhar
Hi All, I’ve an audio hardware with eight audio engines and it supports “PCM/I2S Inputs , PCM/I2S Outputs, ADC (Analogue Line Inputs), DAC (Analogue Line Outputs), Digital Microphone” interfaces. All these interfaces are implemented on Xilinx FPGA image and it connects to host CPU(Intel based

interruptible sleep tasks

2018-09-11 Thread Muni Sekhar
Hi All, During kernel drivers testing I see lot of user mode applications blocks forever in interruptible sleep mode. Is there any way to get the corresponding kernel functions stack trace ? I see kernel has “hung_task_timeout_secs” parameter and when a task in D state did not get scheduled for

Testing low level UART driver

2018-01-24 Thread Muni Sekhar
Hi All, Does Linux kernel tree has any standard utilities to test any low level UART driver? -- Thanks, Sekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

uart throughput

2018-04-05 Thread Muni Sekhar
Hi All, I’ve an uart hardware implemented on Xilinx FPGA image and it connects to host CPU(Intel based chip) on PCIe bus in Linux platform. The following parameters were fixed or varied when measuring the UART throughput in internal loopback mode(UART_RX and UART_TX pins were internally

gcov tool data - for a specific kernel module

2018-11-01 Thread Muni Sekhar
Hi All, I’m trying to use the ‘gcov’ tool for an out-of-tree kernel module. For this, I configured the kernel with “CONFIG_DEBUGFS=y” , “CONFIG_GCOV_KERNEL=y” and mounted the debugfs. I noticed that “file.gcno” file generated by gcc when compiling with option -ftest-coverage. I’d like to know

gcov tool data - for a specific kernel module

2018-11-01 Thread Muni Sekhar
Hi All, I’m trying to use the ‘gcov’ tool for an out-of-tree kernel module. For this, I configured the kernel with “CONFIG_DEBUGFS=y” , “CONFIG_GCOV_KERNEL=y” and mounted the debugfs. I noticed that “file.gcno” file generated by gcc when compiling with option -ftest-coverage. I’d like to know

drivers/char/efirtc.c - efi_rtc_open\ efi_rtc_close

2019-01-21 Thread Muni Sekhar
Hello All, The drivers/char/efirtc.c file has ‘struct file_operations.open’ & ‘struct file_operations.close’ functions efi_rtc_open()\ efi_rtc_close() does nothing, just returns ‘0’. So it accept multiple open files at the same time. If we don’t define these empty function, still driver accepts

Re: wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout() and wake_up()

2019-07-29 Thread Muni Sekhar
On Mon, Jul 29, 2019 at 11:57 PM Valdis Klētnieks wrote: > > On Mon, 29 Jul 2019 22:48:57 +0530, Muni Sekhar said: > > Let us assume that multiple processes are waiting on wait_event()\ > > wait_event_interruptible()\ wait_event_interruptible_timeout(), which > > process

how to get kernel crashdump

2019-09-13 Thread Muni Sekhar
Hi All, I’m having a Linux system, I’m seeing it gets hung during certain tests. When it hung, it does not even respond for SYSRQ button, only way to recover is power-button-only. No response for SYSRQ button means kernel crashed? After reboot I looked at the kern.log and most of the times it

interrupt latency

2019-07-29 Thread Muni Sekhar
Hi All, I used the Linux kernel’s ‘Ftrace’ framework for tracing the interrupt latencies. Sometimes I noticed a delay(time between do_IRQ() to start of ISR()) in start of ISR(interrupt service routine) to execute , some other times I noticed ISR execution time(entering and exiting a function) is

Re: wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout() and wake_up()

2019-07-29 Thread Muni Sekhar
On Mon, Jul 29, 2019 at 11:31 PM Bharath Vedartham wrote: > > On Mon, Jul 29, 2019 at 10:48:57PM +0530, Muni Sekhar wrote: > > Hi All, > > > > Let us assume that multiple processes are waiting on wait_event()\ > > wait_event_interruptible()\ wait_event_interruptibl

wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout() and wake_up()

2019-07-29 Thread Muni Sekhar
Hi All, Let us assume that multiple processes are waiting on wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout(), which process gets woken up on calling wake_up()?? I presume wake_up() picks one process, but is there any algorithm to pick which process? -- Thanks,

Re: wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout() and wake_up()

2019-08-06 Thread Muni Sekhar
On Tue, Aug 6, 2019 at 5:12 PM Valdis Klētnieks wrote: > > On Tue, 06 Aug 2019 14:15:53 +0530, Muni Sekhar said: > > > If they do different things, does the waiting threads wakeup order is > > the same in which they were enqueued (FIFO order)? > > You missed the point

Re: wait_event()\ wait_event_interruptible()\ wait_event_interruptible_timeout() and wake_up()

2019-08-06 Thread Muni Sekhar
On Mon, Jul 29, 2019 at 11:57 PM Valdis Klētnieks wrote: > > On Mon, 29 Jul 2019 22:48:57 +0530, Muni Sekhar said: > > Let us assume that multiple processes are waiting on wait_event()\ > > wait_event_interruptible()\ wait_event_interruptible_timeout(), which > > process

Re: CONFIG_CC_STACKPROTECTOR_STRONG

2019-07-09 Thread Muni Sekhar
On Tue, 9 Jul, 2019, 11:16 PM Denis Kirjanov, wrote: > > > On Tuesday, July 9, 2019, Muni Sekhar wrote: > >> On Tue, Jul 9, 2019 at 10:56 PM Denis Kirjanov >> wrote: >> > >> > >> > >> > On Tuesday, July 9, 2019, Muni Sekhar wro

Re: CONFIG_CC_STACKPROTECTOR_STRONG

2019-07-09 Thread Muni Sekhar
On Tue, Jul 9, 2019 at 10:56 PM Denis Kirjanov wrote: > > > > On Tuesday, July 9, 2019, Muni Sekhar wrote: >> >> Hi All, >> >> >> My Kernel is built with the following options: >> >> >> >> CONFIG_CC_STACKPROTECTOR=y >> &

CONFIG_CC_STACKPROTECTOR_STRONG

2019-07-09 Thread Muni Sekhar
Hi All, My Kernel is built with the following options: CONFIG_CC_STACKPROTECTOR=y CONFIG_CC_STACKPROTECTOR_STRONG=y We use out-of-tree kernel modules in our project and I need to measure the performance of it by using a bit older gcc version 4.8.5. I can build the modules with gcc

NMI injection

2019-11-15 Thread Muni Sekhar
Hi All, Can someone clarify me what is “NMI injection” means? Does it helps when system is frozen? If so how to do this for Intel Atom processor machines? I configured my system to respond for SysRq key press, but I see when system is frozen then SysRq key press has no effect. I’ve read that

Re: How to printk synchronously

2019-11-27 Thread Muni Sekhar
On Wed, Nov 27, 2019 at 2:48 PM Valdis Klētnieks wrote: > > On Tue, 26 Nov 2019 22:31:08 +, Lucas Tanure said: > > Hi, > > > > What about ftrace ? Documentation/trace/ftrace.txt > > That won't help - his ^@^@^@ is a result of the system stopping and no longer > writing to disk, so his logfile

pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-08 Thread Muni Sekhar
Hi all, After rebooting the system following messages are seen in dmesg. Not sure if these indicate a problem. Can some one look at these and confirm if this is problem or can be ignored ? Also any suggestions as to what would cause this? [1.084728] pci :00:1c.0: BAR 15: no space for

Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Muni Sekhar
On Wed, Feb 12, 2020 at 1:46 AM Bjorn Helgaas wrote: > > On Tue, Feb 11, 2020 at 10:02:13PM +0530, Muni Sekhar wrote: > > On Tue, Feb 11, 2020 at 8:10 PM Bjorn Helgaas wrote: > > > On Tue, Feb 11, 2020 at 07:36:00PM +0530, Muni Sekhar wrote: > > > > On Tue, Feb

Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-11 Thread Muni Sekhar
On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas wrote: > > On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote: > > Hi all, > > > > After rebooting the system following messages are seen in dmesg. > > Not sure if these indicate a problem. Can some one

Re: pcie: kernel log - BAR 15: no space for... BAR 15: failed to assign..

2020-02-12 Thread Muni Sekhar
On Tue, Feb 11, 2020 at 8:10 PM Bjorn Helgaas wrote: > > On Tue, Feb 11, 2020 at 07:36:00PM +0530, Muni Sekhar wrote: > > On Tue, Feb 11, 2020 at 3:58 AM Bjorn Helgaas wrote: > > > On Sun, Feb 09, 2020 at 07:59:41AM +0530, Muni Sekhar wrote: > > > > Hi all

Re: read the memory mapped address - pcie - kernel hangs

2020-01-09 Thread Muni Sekhar
On Thu, Jan 9, 2020 at 5:07 PM Greg KH wrote: > > On Thu, Jan 09, 2020 at 04:44:16PM +0530, Muni Sekhar wrote: > > On Thu, Jan 9, 2020 at 1:15 AM Greg KH wrote: > > > > > > On Thu, Jan 09, 2020 at 12:30:20AM +0530, Muni Sekhar wrote: > > > > Hi All, >

Re: read the memory mapped address - pcie - kernel hangs

2020-01-09 Thread Muni Sekhar
On Thu, Jan 9, 2020 at 1:15 AM Greg KH wrote: > > On Thu, Jan 09, 2020 at 12:30:20AM +0530, Muni Sekhar wrote: > > Hi All, > > > > I have module with Xilinx FPGA. It implements UART(s), SPI(s), > > parallel I/O and interfaces them to the Host CPU via PCI Express

Re: read the memory mapped address - pcie - kernel hangs

2020-01-10 Thread Muni Sekhar
Thanks, I'll check it out. On Sat, 11 Jan, 2020, 4:33 AM Onur Atilla, wrote: > On 10.01.20 15:58, Muni Sekhar wrote: > > On Fri, Jan 10, 2020 at 4:46 PM Primoz Beltram > wrote: > >> > >> Hi, > >> Have read also other replays to this topic. > &

read the memory mapped address - pcie - kernel hangs

2020-01-08 Thread Muni Sekhar
Hi All, I have module with Xilinx FPGA. It implements UART(s), SPI(s), parallel I/O and interfaces them to the Host CPU via PCI Express bus. I see that my system freezes without capturing the crash dump for certain tests. I debugged this issue and it was tracked down to the ‘readl()’ in interrupt

Re: read the memory mapped address - pcie - kernel hangs

2020-01-10 Thread Muni Sekhar
linx provides test bench simulation code for their PCIe IP's. > They provide also PCIe root port model, so you can simulate AXI > read/writes accesses as they would come from CPU I/O memory requests via > PCIe TLPs. Thank you so much for sharing valuable information, will work on this. > WBR

Scheduler benchmarks

2020-08-18 Thread Muni Sekhar
Hi all, I’ve two identical Linux systems with only kernel differences. While doing kernel profiling with perf, I got the below mentioned metrics for Scheduler benchmarks. 1st system (older kernel version compared to the other system) benchmark result: $ perf bench sched messaging -g 64 #

Re: Scheduler benchmarks

2020-08-18 Thread Muni Sekhar
On Tue, Aug 18, 2020 at 8:06 PM Greg KH wrote: > > On Tue, Aug 18, 2020 at 08:00:11PM +0530, Muni Sekhar wrote: > > Hi all, > > > > I’ve two identical Linux systems with only kernel differences. > > What are the differences in the kernels? > > > While

Re: Scheduler benchmarks

2020-08-18 Thread Muni Sekhar
On Tue, Aug 18, 2020 at 10:44 PM Greg KH wrote: > > On Tue, Aug 18, 2020 at 10:24:13PM +0530, Muni Sekhar wrote: > > On Tue, Aug 18, 2020 at 8:06 PM Greg KH wrote: > > > > > > On Tue, Aug 18, 2020 at 08:00:11PM +0530, Muni Sekhar wrote: > > > > Hi all

Re: Scheduler benchmarks

2020-08-18 Thread Muni Sekhar
On Tue, Aug 18, 2020 at 11:06 PM Greg KH wrote: > > On Tue, Aug 18, 2020 at 11:01:35PM +0530, Muni Sekhar wrote: > > On Tue, Aug 18, 2020 at 10:44 PM Greg KH wrote: > > > > > > On Tue, Aug 18, 2020 at 10:24:13PM +0530, Muni Sekhar wrote: > > > > On T

Re: Scheduler benchmarks

2020-08-19 Thread Muni Sekhar
On Tue, Aug 18, 2020 at 11:45 PM peter enderborg wrote: > > On 8/18/20 7:53 PM, Muni Sekhar wrote: > > On Tue, Aug 18, 2020 at 11:06 PM Greg KH wrote: > >> On Tue, Aug 18, 2020 at 11:01:35PM +0530, Muni Sekhar wrote: > >>> On Tue, Aug 18, 2020 at 10:44 PM Greg

sound: PCM/I2S Digital Mic & SPDIF

2020-11-01 Thread Muni Sekhar
Hello all, I’m having a Linux X86 machine and interfacing with Xilinx FPGA endpoint over PCIe. FPGA endpoint supports various audio engines like PCM/I2S ,Digital Mic & SPDIF. I’m looking for any existing linux device driver to port it for my hardware. Does the Linux kernel tree have any

Re: USB sound card issues

2021-06-15 Thread Muni Sekhar
On Tue, Jun 15, 2021 at 11:44 AM Valdis Klētnieks wrote: > > On Sat, 12 Jun 2021 16:45:00 +0530, Muni Sekhar said: > > > > And if it's configurable for multiple formats, was it set for the correct > > > one? > > Is there a way to verify was it set for the correct

Re: USB sound card issues

2021-06-12 Thread Muni Sekhar
On Sat, Jun 12, 2021 at 5:16 AM Valdis Klētnieks wrote: > > On Tue, 08 Jun 2021 16:20:07 +0530, Muni Sekhar said: > > > $ arecord --device hw:1,0 --channels 1 --format S16_LE --rate 32000_Hz x.wav > > Recording WAVE 'x.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Mono

SNDRV_PCM_IOCTL_READI_FRAMES returns EIO

2021-06-10 Thread Muni Sekhar
Hi all, I noticed recording(arecord) audio data on a USB sound card fails at SNDRV_PCM_IOCTL_READI_FRAMES is giving EIO. Can someone please clarify when the kernel returns EIO for Ioctl SNDRV_PCM_IOCTL_READI_FRAMES? -- Thanks, Sekhar ___

USB sound card issues

2021-06-08 Thread Muni Sekhar
Hi all, I am using a USB sound card(snd-usb-audio), and it fails while doing the audio recording "arecord: pcm_read:2032: read error: Input/output error". What could be the problem? and is there a workaround for this? $ arecord -l List of CAPTURE Hardware Devices card 1: BT_AG

Re: USB sound card issues

2021-06-08 Thread Muni Sekhar
On Tue, Jun 8, 2021 at 6:02 PM Greg KH wrote: > > On Tue, Jun 08, 2021 at 05:44:42PM +0530, Muni Sekhar wrote: > > On Tue, Jun 8, 2021 at 4:44 PM Greg KH wrote: > > > > > > On Tue, Jun 08, 2021 at 04:20:07PM +0530, Muni Sekhar wrote: > > > > Hi all, &

Re: USB sound card issues

2021-06-08 Thread Muni Sekhar
On Tue, Jun 8, 2021 at 4:44 PM Greg KH wrote: > > On Tue, Jun 08, 2021 at 04:20:07PM +0530, Muni Sekhar wrote: > > Hi all, > > > > I am using a USB sound card(snd-usb-audio), and it fails while doing > > the audio recording "arecord: pcm_read:2032:

Re: trigger timestamp

2021-07-08 Thread Muni Sekhar
On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai wrote: > > On Thu, 01 Jul 2021 01:41:29 +0200, > Muni Sekhar wrote: > > > > Hi all, > > > > >From the user space test application , Is it possible to get the > > trigger timestamp corresponding to SNDRV_PCM_

Re: trigger timestamp

2021-07-08 Thread Muni Sekhar
On Thu, Jul 8, 2021 at 6:02 PM Takashi Iwai wrote: > > On Thu, 08 Jul 2021 14:19:12 +0200, > Muni Sekhar wrote: > > > > On Thu, Jul 8, 2021 at 4:59 PM Takashi Iwai wrote: > > > > > > On Thu, 01 Jul 2021 01:41:29 +0200, > > > Muni Sekhar wrot

trigger timestamp

2021-06-30 Thread Muni Sekhar
Hi all, >From the user space test application , Is it possible to get the trigger timestamp corresponding to SNDRV_PCM_TRIGGER_START & SNDRV_PCM_TRIGGER_STOP events for audio playback capture? -- Thanks, Sekhar ___ Kernelnewbies mailing list

kernel projects for students

2021-03-22 Thread Muni Sekhar
Hi all, What are some good Linux projects in kernel space for final year computer.science engineering students? Could someone help and share your ideas on this please. -- Thanks, Sekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: USB-Audio: Device or resource busy (strace log)

2021-08-13 Thread Muni Sekhar
On Wed, Aug 11, 2021 at 6:48 PM Muni Sekhar wrote: > > On Wed, Aug 11, 2021 at 6:19 PM vishnu wrote: > > > > can you paste output of > > arecord -l (list of capture devices). > $ arecord -l > List of CAPTURE Hardware Devices > card 0: USB [Plantroni

read() via USB bus

2021-08-09 Thread Muni Sekhar
Hi all, PCIe memory mapped registers can be read via readb(), readw(), readl() kernel API's. Similarly what are the kernel API to read the device registers via USB bus -- Thanks, Sekhar ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: read() via USB bus

2021-08-09 Thread Muni Sekhar
On Mon, Aug 9, 2021 at 1:45 PM Oliver Neukum wrote: > > > On 09.08.21 09:58, Muni Sekhar wrote: > > Hi all, > > > > PCIe memory mapped registers can be read via readb(), readw(), readl() > > kernel API's. Similarly what are the kernel API to read the device >

Re: read() via USB bus

2021-08-10 Thread Muni Sekhar
On Mon, Aug 9, 2021 at 1:45 PM Oliver Neukum wrote: > > > On 09.08.21 09:58, Muni Sekhar wrote: > > Hi all, > > > > PCIe memory mapped registers can be read via readb(), readw(), readl() > > kernel API's. Similarly what are the kernel API to read the device >

Re: read() via USB bus

2021-08-10 Thread Muni Sekhar
On Tue, 10 Aug, 2021, 7:50 pm Oliver Neukum, wrote: > > On 10.08.21 16:13, Muni Sekhar wrote: > > On Mon, Aug 9, 2021 at 1:45 PM Oliver Neukum wrote: > >> > >> On 09.08.21 09:58, Muni Sekhar wrote: > >>> Hi all, > >>> > >>> PC

USB-Audio: Device or resource busy

2021-08-11 Thread Muni Sekhar
Hi All, $ cat /proc/asound/cards 0 [USB]: USB-Audio - Plantronics .Audio 628 USB Plantronics Plantronics .Audio 628 USB at usb-:00:14.0-2, full speed I am using a Plantronics USB Audio headset. $ arecord --device hw:0,0 --channels 2 --format S16_LE --rate

Re: USB-Audio: Device or resource busy (strace log)

2021-08-11 Thread Muni Sekhar
device #0 > Which device you are using and os. > Does this instance is already open by default? like any video playing or > something like that? lsof does not catch it. > > Yes you can stop pulse audio and try.. > > On Wed, Aug 11, 2021 at 6:17 PM Jaroslav Kysela wrote: >>

Re: ALSA kernel projects - for academic purposes

2021-09-24 Thread Muni Sekhar
On Fri, Sep 24, 2021 at 10:46 PM wrote: > > On Fri, Sep 24, 2021 at 10:58 AM Muni Sekhar wrote: > > > > On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks > > wrote: > > > > > > On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said: > > >

Re: ALSA kernel projects - for academic purposes

2021-09-24 Thread Muni Sekhar
On Fri, Sep 24, 2021 at 10:02 PM Valdis Klētnieks wrote: > > On Fri, 24 Sep 2021 19:34:59 +0530, Muni Sekhar said: > > What small projects would you suggest to a novice with the ALSA > > kernel. The aim is to develop a familiarity with the ALSA kernel > > source

ALSA kernel projects - for academic purposes

2021-09-24 Thread Muni Sekhar
Hi all, What small projects would you suggest to a novice with the ALSA kernel. The aim is to develop a familiarity with the ALSA kernel source code, and also to submit it for academic purposes. -- Thanks, Sekhar ___ Kernelnewbies mailing list

Time: new clocksource

2021-12-03 Thread Muni Sekhar
Hi All, We have a Digital PLL with 64 bit timer counter hardware and the counter is accessible from the CPU over the PCIe bus. Is it possible to add this timer counter hardware as new clocksource driver? To do this, can someone please point me to the existing reference source code(or patch) for

x86, nmi: IOCK error

2021-11-22 Thread Muni Sekhar
Hi all, The following message is seen on the console "NMI: IOCK error (debug interrupt?) for reason 60 on CPU 0.", what does it mean? Does this likely confirm the CPU is faulty? If so, how to resolve this? -- Thanks, Sekhar ___ Kernelnewbies mailing

Re: x86, nmi: IOCK error

2021-11-22 Thread Muni Sekhar
On Tue, Nov 23, 2021 at 10:44 AM Jeffrey Walton wrote: > > On Mon, Nov 22, 2021 at 11:03 PM Muni Sekhar wrote: > > > > The following message is seen on the console "NMI: IOCK error (debug > > interrupt?) for reason 60 on CPU 0.", what does it mean? > > R

USB: invalid maxpacket 8

2021-11-18 Thread Muni Sekhar
Hi all, I'm trying to connect to a USB device on Linux PC and getting an error about "invalid maxpacket 8". What does it mean? Does this error causes USB packet transfer failures? Any ideas how to fix this? Thank you for any pointers. dmesg log: --- [1920549.030669] usb 2-2: New

X86 : system call

2021-12-11 Thread Muni Sekhar
Hi all, 32-bit system call numbers and entry vectors are defined in the format "". What is the difference between and ? The abi is always "i386" for arch/x86/entry/syscalls/syscall_32.tbl, whereas for 64-bit(arch/x86/entry/syscalls/syscall_64.tbl) it is used as "common" and "64", "x32".

Re: Time: new clocksource

2021-12-05 Thread Muni Sekhar
On Sat, Dec 4, 2021 at 3:18 AM Daniel Lezcano wrote: > > Hi Sekhar, > > On 03/12/2021 17:50, Muni Sekhar wrote: > > Hi All, > > > > We have a Digital PLL with 64 bit timer counter hardware and the > > counter is accessible from the CPU over the PCIe bus. >

Re: Time: new clocksource

2021-12-05 Thread Muni Sekhar
On Mon, Dec 6, 2021 at 11:59 AM Daniel Lezcano wrote: > > On 06/12/2021 07:00, Muni Sekhar wrote: > > On Sat, Dec 4, 2021 at 3:18 AM Daniel Lezcano > > wrote: > >> > >> Hi Sekhar, > >> > >> On 03/12/2021 17:50, Muni Sekhar wrote: > >&g

Re: Time: new clocksource

2021-12-06 Thread Muni Sekhar
On Sat, Dec 4, 2021 at 3:18 AM Daniel Lezcano wrote: > > Hi Sekhar, > > On 03/12/2021 17:50, Muni Sekhar wrote: > > Hi All, > > > > We have a Digital PLL with 64 bit timer counter hardware and the > > counter is accessible from the CPU over the PCIe bus. >

PCM prepare callback

2021-07-28 Thread Muni Sekhar
Hi all, Is there any document which explains the sequence of snd_pcm_ops callbacks called during playback and capture? What driver is supposed to return from the PCM prepare callback if the sound card is not ready for playback\capture? -- Thanks, Sekhar

Re: Seeking Guidance for New SPI Driver in Mainline Linux Kernel

2023-08-18 Thread Muni Sekhar
; Have you gone through the bindings documentation for spi driver? > What are the pin configuration for your hardware sli? > Br > > On Fri, 18 Aug 2023 at 6:40 PM, Muni Sekhar wrote: >> >> Dear Linux Kernel Community, >> >> I hope this email finds you w

Seeking Guidance for New SPI Driver in Mainline Linux Kernel

2023-08-18 Thread Muni Sekhar
Dear Linux Kernel Community, I hope this email finds you well. I am writing to seek your guidance and assistance regarding the development of a new SPI device driver for our hardware system. Our hardware, implemented on an FPGA, features an SPI interface that acts as a Master, offering two

Seeking Guidance for New SPI Driver in Mainline Linux Kernel

2023-08-18 Thread Muni Sekhar
Dear Linux Kernel Community, I hope this email finds you well. I am writing to seek your guidance and assistance regarding the development of a new SPI device driver for our hardware system. Our hardware, implemented on an FPGA, features an SPI interface that acts as a Master, offering two

Kconfig rules (depends, imply)

2022-05-31 Thread Muni Sekhar
Hi all, menuconfig SOUNDWIRE tristate "SoundWire support" depends on ACPI || OF "depends on ACPI || OF" mean, SOUNDWIRE depends on both ACPI and OF modules? config SOUNDWIRE_QCOM tristate "Qualcomm SoundWire Master driver" imply SLIMBUS What does "imply

Re: Kconfig rules (depends, imply)

2022-06-01 Thread Muni Sekhar
Thank you for the clarification. On Wed, Jun 1, 2022 at 1:55 AM Randy Dunlap wrote: > > Hi-- > > On 5/31/22 05:14, Muni Sekhar wrote: > > Hi all, > > > > menuconfig SOUNDWIRE > > tristate "SoundWire support" > > depend

ALSA: arecord : silennce recorded as 0x80

2023-04-13 Thread Muni Sekhar
Hi all, I recorded the silence on the default audio card by running "arecord -d 5 test.wav." Once it exited, I checked the contents by running "hexdump test.wav," and I see that silence is recorded as a sequence of 0x80 instead of 0x00. 000 4952 4646 0024 8000 4157 4556 6d66 2074 010

  1   2   >