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 <htejun@xxxxxxxxx> wrote: > > 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. > > 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 <seth.heasley@xxxxxxxxx> wrote: > >>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 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html