From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932345AbcAYNTK (ORCPT ); Mon, 25 Jan 2016 08:19:10 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:42540 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757213AbcAYNTE (ORCPT ); Mon, 25 Jan 2016 08:19:04 -0500 Date: Mon, 25 Jan 2016 13:18:50 +0000 From: One Thousand Gnomes To: Ocean HY1 He Cc: "tj@kernel.org" , "linux-ide@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Let AHCI dirver skip Lenovo SWRAID controller Message-ID: <20160125131850.64c5c22a@lxorguk.ukuu.org.uk> In-Reply-To: <1453691440-42035-1-git-send-email-hehy1@lenovo.com> References: <1453691440-42035-1-git-send-email-hehy1@lenovo.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.1 (GTK+ 2.24.29; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Jan 2016 03:11:40 +0000 Ocean HY1 He 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