Thread (16 messages) 16 messages, 5 authors, 2011-10-01

Re: [PATCH] ata: make DVD drive recognisable on systems with Intel Sandybridge CPT chipset

From: Tejun Heo <hidden>
Date: 2011-09-25 00:03:52

Hello,

On Sat, Sep 24, 2011 at 09:34:09PM +0800, Ming Lei wrote:
On Sat, Sep 24, 2011 at 9:58 AM, Tejun Heo [off-list ref] wrote:
quoted
Hello,
No, this wouldn't work.  Ops inheritance isn't dynamic.
I am sure that I have tested the patch and it does work.
Yeah, but not by design.  That field is assumed to be static.
Inheritance currently is finalized during the first use of the
operation structure, where the first use also includes being inherited
by other ops structure, so doing it like that is asking for obscure
bugs.
quoted
Please define a separate ata_port_operations for controller which
require 16bit PIO - piix_pata16_ops, create a new controller id (say,
ich_snb_pata), add an accompanying port_info entry and device_id
entry.
In fact, I am not familiar with sata, but just want to fix the problem.
If you have a better patch, please ignore mine and apply yours.
Sure I can do that but it would be better if you can revise your
patch.  Please take a look at how different ops are mapped to
different device IDs.  You just need to create another variant to be
mapped to the problematic device IDs.
On Sat, Sep 24, 2011 at 12:28 PM, Heasley, Seth [off-list ref] wrote:
quoted
quoted
Have we successfully localized the problem to SNB?  If so, great.
No, we haven't.  I've reproduced the issue on two newer Intel chipsets.  In > IDE mode, ATAPI just isn't working on SATA3 ports.  With the provided
patch, the issue is resolved.  At what cost, I can't say.  But if a patch will
go in for the 6 Series, we need to apply it to the other platforms as well.  I > can provide the DeviceIDs.
I have seen someone reported the same problem on the device with
pci device id of 0x1c01[1]. I have asked them to test the patch but without
any response, so I had to not include the dev id in the patch.
Developing partial blacklist w/o knowing what's going on is messy.  If
we discover that something wasn't quite what we suspected it was and
had to revise, it'll be tricky to verify whicn ones need to remain.
Alan, can someone from intel verify the issue?  Is there an errata we
can look at?

Thanks.

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help