Methods to intercept accesses to mmaped page from userspace, or pretend to be mmio range

2018-04-10 Thread Thomas Fjellstrom
I'm trying to emulate the /dev/gpiomem char device from the raspberry pi that lets userspace programs mmap in the gpio registers on the bcm283x SoC. Is there any way to do what I want to do in a kernel module? Thanks, -- Thomas Fjellstrom tho...@fjellstrom.ca

Re: Asmedia USB 1343 crashes

2017-05-04 Thread Thomas Fjellstrom
On Thursday, May 4, 2017 6:02:53 PM MDT Mathias Nyman wrote: > On 03.05.2017 22:20, Thomas Fjellstrom wrote: > > On Wednesday, May 3, 2017 1:54:39 PM MDT Alan Stern wrote: > >> On Tue, 2 May 2017, Thomas Fjellstrom wrote: > >> > >>> I just had a brief lockup

Re: Asmedia USB 1343 crashes

2017-05-03 Thread Thomas Fjellstrom
On Wednesday, May 3, 2017 1:54:39 PM MDT Alan Stern wrote: > On Tue, 2 May 2017, Thomas Fjellstrom wrote: > > > I just had a brief lockup, desktop stopped responding, other usb devices > > not > > on the usb3 controller. Two android devices were in the process of >

Re: Asmedia USB 1343 crashes

2017-05-02 Thread Thomas Fjellstrom
On Tuesday, May 2, 2017 8:04:28 PM MDT Thomas Fjellstrom wrote: > On Monday, May 1, 2017 12:08:55 PM MDT Thomas Fjellstrom wrote: > > On Monday, May 1, 2017 1:57:53 PM MDT Alan Stern wrote: > > > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > > On Monday, May 1, 2

Re: Asmedia USB 1343 crashes

2017-05-02 Thread Thomas Fjellstrom
On Monday, May 1, 2017 12:08:55 PM MDT Thomas Fjellstrom wrote: > On Monday, May 1, 2017 1:57:53 PM MDT Alan Stern wrote: > > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > On Monday, May 1, 2017 10:54:12 AM MDT Alan Stern wrote: > > > > On Mon, 1 May

Re: Asmedia USB 1343 crashes

2017-05-01 Thread Thomas Fjellstrom
On Monday, May 1, 2017 1:57:53 PM MDT Alan Stern wrote: > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > On Monday, May 1, 2017 10:54:12 AM MDT Alan Stern wrote: > > > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > > > I've got a 970 Pro gaming aura mot

Re: Asmedia USB 1343 crashes

2017-05-01 Thread Thomas Fjellstrom
On Monday, May 1, 2017 10:54:12 AM MDT Alan Stern wrote: > On Mon, 1 May 2017, Thomas Fjellstrom wrote: > > I've got a 970 Pro gaming aura motherboard with an Asmedia 1343 Usb 3.1 > > controller. It's been consistently throwing errors and eventually crashing >

Asmedia USB 1343 crashes

2017-05-01 Thread Thomas Fjellstrom
ving. I'm currently running 4.11-rc7 but the issue appeared on several earlier kernels as well. -- Thomas Fjellstrom tho...@fjellstrom.ca

Re: nvme, allocation failures, and aborted commands

2017-03-11 Thread Thomas Fjellstrom
On Thursday, March 9, 2017 6:03:34 PM MST Keith Busch wrote: > On Thu, Mar 09, 2017 at 03:01:27PM -0700, Thomas Fjellstrom wrote: > > On Monday, March 6, 2017 5:46:33 PM MST Keith Busch wrote: > > > > > > echo 128 > /sys/block/nvme0n1/queue/max_hw_sectors_kb

Re: nvme, allocation failures, and aborted commands

2017-03-09 Thread Thomas Fjellstrom
On Monday, March 6, 2017 5:46:33 PM MST Keith Busch wrote: > On Sun, Mar 05, 2017 at 11:11:45PM -0700, Thomas Fjellstrom wrote: > > Tonight I decided to try kernel 4.11-rc1. Still getting page allocation > > failures and aborted nvme commands once iozone gets to the fwrite/fr

Re: nvme, allocation failures, and aborted commands

2017-03-05 Thread Thomas Fjellstrom
Tonight I decided to try kernel 4.11-rc1. Still getting page allocation failures and aborted nvme commands once iozone gets to the fwrite/fread testing. The taint seems to be comming from previos warnings from the radeon kernel driver. Its a pretty simple: iozone -a -s 64G run. new log: [ 57

Re: nvme, allocation failures, and aborted commands

2017-03-05 Thread Thomas Fjellstrom
On Friday, March 3, 2017 8:27:40 AM MST Thomas Fjellstrom wrote: > I just got a new Samsung 960 Evo 256GB m.2 nvme drive, and put it through > some tests. > > When I run `iozone -a -s 60G` on my desktop (that has 32GB ram and a amd FX > 8320), i run into some errors. One time the d

Question on intel_pstate driver

2014-05-31 Thread Thomas Fjellstrom
ing I can do to keep boost states while reducing the heat and noise? It seems to be way over compensating for minimal amounts of cpu use. -- Thomas Fjellstrom tho...@fjellstrom.ca -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: turbo on lenovo w530 causing over-temp warnings

2014-03-30 Thread Thomas Fjellstrom
ne Check Exceptions' / MCE? > > Regards, > Marc > > On 30. März 2014 11:13:57 MESZ, Thomas Fjellstrom wrote: > >I have a lenovo w530 laptop with an intel i7-3720QM processor, and when > > > >running something with high cpu use causes the cpu to be put i

turbo on lenovo w530 causing over-temp warnings

2014-03-30 Thread Thomas Fjellstrom
und to both till tomorrow. Thanks. -- Thomas Fjellstrom tho...@fjellstrom.ca -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: hung task with 3.9.8/3.10.1

2013-07-26 Thread Thomas Fjellstrom
On Sat 20 July 2013 17:19:30 Thomas Fjellstrom wrote: > On Sat 20 July 2013 08:21:38 Thomas Fjellstrom wrote: > > I recently picked up an older IBM System x3650 server for some > > virtualization and web stuff, and after installing (oldstable) and > > upgrading (curent sid) d

Re: hung task with 3.9.8/3.10.1

2013-07-20 Thread Thomas Fjellstrom
On Sat 20 July 2013 08:21:38 Thomas Fjellstrom wrote: > I recently picked up an older IBM System x3650 server for some > virtualization and web stuff, and after installing (oldstable) and > upgrading (curent sid) debian, it hangs for a while on bootup trying to > modprobe some dri

Re: compile error on 3.10.1

2013-07-20 Thread Thomas Fjellstrom
On Sat 20 July 2013 12:07:03 Thomas Fjellstrom wrote: > On Sat 20 July 2013 11:02:10 you wrote: > > On Sat, Jul 20, 2013 at 09:59:57AM -0600, Thomas Fjellstrom wrote: > > > Hi, just trying to compile a vanilla kernel and building using > > > allmodconfig and using oldco

Re: compile error on 3.10.1

2013-07-20 Thread Thomas Fjellstrom
On Sat 20 July 2013 11:02:10 you wrote: > On Sat, Jul 20, 2013 at 09:59:57AM -0600, Thomas Fjellstrom wrote: > > Hi, just trying to compile a vanilla kernel and building using > > allmodconfig and using oldconfig with the debian 3.10.1 config as a base. > > > > With

compile error on 3.10.1

2013-07-20 Thread Thomas Fjellstrom
are also a bunch of warnings, most of the ones I could catch are signedness related. -- Thomas Fjellstrom tfjellst...@strangesoft.net -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

hung task with 3.9.8/3.10.1

2013-07-20 Thread Thomas Fjellstrom
305bc03sc00i00 I've tried debian's 3.9 and 3.10 kernel. Is this a known issue? Maybe I need to provide some kind of boot parameter? Thanks. -- Thomas Fjellstrom tfjellst...@strangesoft.net -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body