Date: Tue, 5 Apr 2016 14:16:04 -0400 From: Ryan Stone <rysto32@gmail.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: John Baldwin <jhb@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: accessing a PCIe register from userspace through kmem or other ways ? Message-ID: <CAFMmRNy=dZSq4is%2BzPJhVV0n0gnJNNExUh04iA7AGACkvyDuYg@mail.gmail.com> In-Reply-To: <20160405061013.GE1741@kib.kiev.ua> References: <CA%2BhQ2%2BiU4odjhaNicFA4QjvSZR2OZOOy%2BFu4LTqsibdoK4M8zg@mail.gmail.com> <9376230.YZMFsgSvTf@ralph.baldwin.cx> <CAFMmRNzpOgBPsBezOyUZ_=qjCywfADx8MuJWdaWb_D%2B7UCmi7Q@mail.gmail.com> <5009932.qXoZ6E4rhX@ralph.baldwin.cx> <20160405061013.GE1741@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 5, 2016 at 2:10 AM, Konstantin Belousov <kostikbel@gmail.com> wrote: > The mmap(2) interface to /dev/mem did not have the issue ever. The problem > was only with the read(2)/write(2) accesses. > I mis-remembered my situation. I was performing a read on /dev/mem rather than reading through a mmap. Thanks for clearing this up.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNy=dZSq4is%2BzPJhVV0n0gnJNNExUh04iA7AGACkvyDuYg>