Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317868

Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller

From Ocean HY1 He <hehy1@lenovo.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller
Date 2016-01-26 14:00 +0100
Message-ID <qVbnZ-4eF-25@gated-at.bofh.it> (permalink)
References <qUG0N-6aS-1@gated-at.bofh.it> <qUPdN-4ol-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Alan,

Thanks for your comments!

Lenovo SWRAID driver is a closed source driver at this time, I am afraid 
it's not possible to submit it to kernel.

This patch is very important and critical for Lenovo next generation 
Servers. I have tried to make sure this patch only impacts Lenovo 
dedicated hardware and add a on/off boot option to end user who may 
still wants using open source SWRAID(such as MDRAID).

I am a newbie to submit patch to kernel, so I am not so clear about what
my patch breaks. Could you kindly explain that and is there a workaround 
or solution to avoid the break?

Thanks a lot!

Ocean.

On 01/25/2016 09:18 PM, One Thousand Gnomes wrote:
> On Mon, 25 Jan 2016 03:11:40 +0000
> Ocean HY1 He <hehy1@lenovo.com> wrote:
> 
>> Lenovo SWRAID solution is based on Intel Non-RSTE RAID controller which
>> is called Lenovo SWRAID controller by set Lenovo dedicated PCI
>> SVID:SDID.
>>
>> Because AHCI driver now take control this Lenovo SWRAID controller for
>> MDRAID, Lenovo SWRAID driver fails to load later. It's not proper to
>> disable AHCI driver, because system has SATA contoller used for SATA
>> DVD, M.2 etc. There is no chance to load Lenovo SWRAID first, because
>> almost all Linux distros load AHCI driver first during installation.
>>
>> As default, when Lenovo SWRAID controller is detected, let AHCI driver
>> skip it thus MDRAID is disabled. Use the boot option 'ahci.lenovo_swraid=0'
>> could disable Lenovo SWRAID.
> 
> You need to submit the Lenovo SWRAID driver to the kernel first.
> Otherwise this breaks things.
> 
> Alan
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] Let AHCI dirver skip Lenovo SWRAID controller Ocean HY1 He <hehy1@lenovo.com> - 2016-01-25 04:30 +0100
  Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller Christoph Hellwig <hch@infradead.org> - 2016-01-25 11:00 +0100
  Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-25 14:20 +0100
    Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller Ocean HY1 He <hehy1@lenovo.com> - 2016-01-26 14:00 +0100
      Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller Christoph Hellwig <hch@infradead.org> - 2016-01-26 14:30 +0100

csiph-web