[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTi=o06eHLtFvmmz7c4TEjahy=EOrJQ@mail.gmail.com>
Date: Sat, 18 Jun 2011 00:31:32 +0200
From: Rafał Miłecki <zajec5@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-wireless@...r.kernel.org, Pekka Paalanen <pq@....fi>,
Larry Finger <Larry.Finger@...inger.net>
Subject: Lock up when faking MMIO read[bwl] on some machines [WAS: Faking MMIO
ops? Fooling a driver]
I use attached patch to fake result of read[bwl] performed by closed
source driver (ndiswrapper+bcmwl and wl).
1) It works great on my Sony VAIO with Intel(R) Core(TM)2 Duo CPU P8400
2) It locks up Macbook Pro 8,1 with some 8-cores Intel
Do you have any idea why it causes the lockup? Function causing
problem is "set_ins_reg_val". I've created it as copy of
get_ins_reg_val, it just sets values in struct pt_regs, instead of
reading them).
--
Rafał
Download attachment "mmio.debugging.patch" of type "application/octet-stream" (3947 bytes)
Powered by blists - more mailing lists