Re: Beginner's guide to writing a SATA device driver?

2022-05-08 Thread Ozgur Karatas
ck layer) and driver work on Linux kernel side however, you can still access them all so LKML mailing lists are heavily trafficked (if you are sure it would be more accurate to just send a patch) but you can still ask questions to people there. List: linux-...@vger.kernel.org > Thanks for getting

Re: Beginner's guide to writing a SATA device driver?

2022-05-07 Thread Ozgur Karatas
On Sun, May 8, 2022 at 12:34 AM Gabriel L. Somlo wrote: > > Hi, > Hello Gabriel, > I have a (soft-IP, FPGA based, single-port) very simple SATA device > (https://github.com/enjoy-digital/litesata) that provides me (r/w) > access to a single physical SATA hard drive. I can access one sector > at

Re: Replace two ioread32 with ioread64_lo_hi non_atomic

2022-04-25 Thread Ozgur Karatas
Hello, since you called ioread64_lo_hi, you may have a problem with 32-bit, but have you looked at 32-bit arch calls for ioread in the kernel? VNSvIPortD is macro right? On Tue, Apr 26, 2022 at 12:32 AM Philipp Hortmann < philipp.g.hortm...@gmail.com> wrote: > Hi, > > in this patch: > [PATCH

Re: [ARM64] Trap and Forward CPU_ON psci smc

2022-04-16 Thread Ozgur Karatas
re-hi, and i suggest you take a look first: * Power State Coordination Interface Platform Design Document - 3.1 PSCI intended use "The PSCI interface must support interaction at all levels of execution implemented on the device, where multiple levels of supervisory software might be executing.

Re: [ARM64] Trap and Forward CPU_ON psci smc

2022-04-16 Thread Ozgur Karatas
On Sat, Apr 16, 2022 at 2:27 PM Mushahid Hussain wrote: > Hi, > Hello, I'm working on a hobby project: AARCH64 Hypervisor on Raspberry Pi 4b, to > learn about kernel internals, boot process and ARM64 baremetal. I have a > problem with trapping and forwarding a psci smc generated by linux

Re: System does not start with kernel from staging-testing pulled 3hours ago

2022-04-15 Thread Ozgur Karatas
On Fri, Apr 15, 2022 at 11:12 PM Philipp Hortmann < philipp.g.hortm...@gmail.com> wrote: > Hi, > > I found the error. > > I changed something in a driver that lead to this issue. > > Hey, we are glad to hear that but hmm it would be nice to have a little howto content. You're welcome. Regards

Re: System does not start with kernel from staging-testing pulled 3hours ago

2022-04-15 Thread Ozgur Karatas
On Fri, Apr 15, 2022 at 2:23 PM Philipp Hortmann < philipp.g.hortm...@gmail.com> wrote: > Hi, > > i have switched this morning from 5.18.0-rc1 to 5.18.0-rc2 > > But with 5.18.0-rc2 (Pulled today 15.04.2022) my computer does not start > anymore > It stops approxemately at 1.7 seconds > > here the

Re: How to write to a PCIe config space during kernel boot up

2022-04-13 Thread Ozgur Karatas
On Wed, Apr 13, 2022 at 11:34 AM Greg KH wrote: > 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

Re: Can't understand /proc/interrupts output for GICv3 case

2022-04-12 Thread Ozgur Karatas
r, is best to work with kernel modules. Indeed, if you look at how linux kernel works on Interrupt Handler as an example, i think you will find a solution much easier with a use driver. Regards Ozgur Chan > > > > > > *From:* Ozgur Karatas > *Sent:* Tuesda

Re: Can't understand /proc/interrupts output for GICv3 case

2022-04-12 Thread Ozgur Karatas
over a kernel api, kernel would handle it in the get interrupt part. Regards Ozgur > > *From:* Ozgur Karatas > *Sent:* Monday, April 11, 2022 11:53 PM > *To:* Chan Kim > *Cc:* Greg KH ; kernelnewbies@kernelnewbies.org; > qemu-discuss > *Subject:* Re

Re: Can't understand /proc/interrupts output for GICv3 case

2022-04-11 Thread Ozgur Karatas
On Mon, Apr 11, 2022 at 6:49 PM Greg KH wrote: > 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

Re: Can't understand /proc/interrupts output for GICv3 case

2022-04-11 Thread Ozgur Karatas
Re-hi, On Mon, Apr 11, 2022 at 6:16 PM 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 qemu

Re: Kernel CPU Utilization

2017-04-21 Thread Ozgur Karatas
21.04.2017, 19:19, "Stephen Brennan" : > Hello all, Hello, > I was wondering if anyone had some information on how CPU time used by the > kernel is accounted for, e.g. in top or htop. I would imagine that kernel code > running in process code would be "billed" toward that

Re: Kernel CPU Utilization

2017-04-21 Thread Ozgur Karatas
> 21.04.2017, 19:19, "Stephen Brennan" : >  Hello all, > Hello, >  I was wondering if anyone had some information on how CPU time used by the >  kernel is accounted for, e.g. in top or htop. I would imagine that kernel > code >  running in process code would be "billed"

Re: Kernel merge warning

2017-03-26 Thread Ozgur Karatas
  25.03.2017, 10:12, "Amit Kumar" :Hi,  Hello, I get following warnings when merge kernel branches. warning: inexact rename detection was skipped due to too many files.warning: you may want to set your merge.renamelimit variable to at least 6158 and retry the command. Is

Re: How to report bugs for release candidates?

2017-03-26 Thread Ozgur Karatas
25.03.2017, 13:17, "Martin Kletzander" : > Hi everyone, Hello, > I was usually using Bugzilla when I wanted to report something, but what > if, for example, I can't boot 4.11-rc3? Is bugzilla fast enough for > such type of regressions? Can I attach any more information than

Re: My kernel patch was rejected with comments

2017-03-22 Thread Ozgur Karatas
22.03.2017, 15:22, "Pranay Srivastava" : > On Wed, Mar 22, 2017 at 5:09 PM, Prasant J wrote: >>  On Wed, Mar 22, 2017 at 4:02 PM, Tobin C. Harding wrote: >>>  On Wed, Mar 22, 2017 at 12:24:47PM +0530, Prasant J wrote:  Hi, Hello,

Re: want to be a kernel developer

2017-03-04 Thread Ozgur Karatas
 Hello, download the linux kernel and read to documentation directory and SubmittingPatches file.So, how are you also with C? read list: The C Programming Language / BookLinux Device Drivers / Book (PDF)Linux Kernel Development / Book Regards, Ozgur 24.02.2017, 11:32, "sourav mondal"

Re: kernel development process question, patch review

2017-03-04 Thread Ozgur Karatas
Hello, I think the list idea is no need for confusion, it is desirable to provide people with a new kernel newbies update to this list with a help and a quick solution to their problems. This is like pre-kernel training. TO and CC already come with the get_maintainer.pl script. TO: Primary

Re: want to be a kernel developer

2017-02-24 Thread Ozgur Karatas
Hello, yes but also attention, you should follow the updated e-books :) Linux in a NutshellLinux System ProgrammingLinux Kernel Module Programming Guide Regards Ozgur  24.02.2017, 15:05, "Kerimcankalipci" :I strongly recommend Linux Device Drivers book, my first

Fwd: want to be a kernel developer

2017-02-24 Thread Ozgur Karatas
Hello, download the linux kernel and read to documentation directory and SubmittingPatches file.So, how are you also with C? read list: The C Programming Language / BookLinux Device Drivers / Book (PDF)Linux Kernel Development / Book Regards, Ozgur 24.02.2017, 11:32, "sourav mondal"

Re: kernel development process question, patch review

2017-02-21 Thread Ozgur Karatas
Hello, I think the list idea is no need for confusion, it is desirable to provide people with a new kernel newbies update to this list with a help and a quick solution to their problems. This is like pre-kernel training. TO and CC already come with the get_maintainer.pl script. TO: Primary

Re: error while sending mail using git send-email

2017-02-11 Thread Ozgur Karatas
Hello, are you still having problem a mutt? Regards, Ozgur 10.02.2017, 10:05, "srishti sharma" : > The key was successfully validated using launchpad , I don't know why > I am getting this error. I am unable to start mutt , because of this > error . > > Please help > >

Re: error while sending mail using git send-email

2017-02-04 Thread Ozgur Karatas
05.02.2017, 04:53, "srishti sharma" : >  These are the mutt configurations > >    set ssl_starttls = yes >    set ssl_force_tls = yes >    set imap_user = srishtis...@gmail.com >    set imap_pass = 'heuristics@56' > >    set from = srishtis...@gmail.com >    set realname =

Re: error while sending mail using git send-email

2017-02-04 Thread Ozgur Karatas
05.02.2017, 04:40, "srishti sharma" : > I am getting the error smtp server problem name or service not known > I have tried googling it but , I haven't found anything relevant . > what could be the problem . > > regards > Hello, what is the mutt configurations? would you

Re: How do you generate the config file?

2017-01-29 Thread Ozgur Karatas
 Hello, you can get .config files in two ways, firstly get the existing .config file and compile to kernel. $ cp /boot/config-x.x.x /bla/linux/.config Second, use the generate command: $ make defconfig Regards, ~Ozgur 30.01.2017, 01:18, "Abel" :Hi!Where do you get the config

Re: Build error

2017-01-29 Thread Ozgur Karatas
  29.01.2017, 10:05, "Amit Kumar" : On Thu, Jan 26, 2017 at 12:31 PM Greg KH wrote:On Thu, Jan 26, 2017 at 11:08:48AM +0530, Amit Kumar wrote:> Hi,> For last several days when I build arm64/defconfig even against> next-20170125, I> get the following