Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5652277rwr; Mon, 24 Apr 2023 07:14:17 -0700 (PDT) X-Google-Smtp-Source: AKy350YxCBI4b17LMiWGFcqkJ39hh3T0iXDGvctcraPCKYbGwTDK4ZsyWwyWlJGBjORJId5FeGSE X-Received: by 2002:a17:903:1106:b0:1a9:2e10:4028 with SMTP id n6-20020a170903110600b001a92e104028mr18228946plh.24.1682345656641; Mon, 24 Apr 2023 07:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682345656; cv=none; d=google.com; s=arc-20160816; b=gmDzh0UmBztJAcsNMqaDKNbbYQfF0drTmTAuH/TaN0Hbz7GFq3ANdjLsJXronschxP sItjZrPur97U4xaky2UB0xwFyrQTasOAkVK7tvG6L5GtvQvaPFaCQ5QE5uBMUOj8u8oB ePO7VraFe6CG7sOf6c599Mn8S6KNfO9VBOztXLuWNzIRjBpK+/fExq/is0FvM9xeCUg0 H29MzoPEm6d7dm93KXoKzyERT54kwQSdLmnD92WZ6XFkoS4ab7ktcXNR3l6Ml5Y8chxx wo+TLi7xh5nUeKPyTN0MI/zhqxaKxqSPNQ/oq/KPH0aYEtPEDRoiJKd6KqXoQlc8XAia oILQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=xPL/1aGuXvcppmER0WDgTFxUmrbh08vEYGOLlU/Cd0c=; b=VWcoQOqiIkKilDKd9AVwA+n2M6dCbWGKL/+NiFMVleHuLxYtaecYCoYR4YXs7Glj9u oIUtRER9N3W/xFAJ4Rs7EiJIpIkCo93yS/ksev7LUGfzjXA3gR7jGbmvsOs/9GwCqH2l YyfaR+qH2Mxx8fvzXagRjq8vC06r/4ok/HX6D0P+My/lEjKLtpc5VfbjW/INVb8epqJK mNCtzYAfhApv6upwwQphGl4fpySHwOZFXZc4lJglq1gvu7BCkYoFARsSV67YpZRvqkry n9ffbnu9f7x+nzG4oGUiIKIpH6jzS9B9A0N8PvJ6VRiivT3cOL35bXfp/CacjFbzChRT gpHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id na16-20020a17090b4c1000b0024696bcae4fsi15783698pjb.5.2023.04.24.07.14.00; Mon, 24 Apr 2023 07:14:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231169AbjDXOH2 (ORCPT + 99 others); Mon, 24 Apr 2023 10:07:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbjDXOH1 (ORCPT ); Mon, 24 Apr 2023 10:07:27 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 43C1B6181; Mon, 24 Apr 2023 07:07:26 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EF52AD75; Mon, 24 Apr 2023 07:08:09 -0700 (PDT) Received: from [10.57.21.60] (unknown [10.57.21.60]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E5DC93F64C; Mon, 24 Apr 2023 07:07:24 -0700 (PDT) Message-ID: <07ee0cf7-a5c2-f87a-d627-8dd8fb082345@arm.com> Date: Mon, 24 Apr 2023 15:07:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [regression] Bug 217218 - Trying to boot Linux version 6-2.2 kernel with Marvell SATA controller 88SE9235 Content-Language: en-GB To: Jason Adriaanse , hch@lst.de Cc: baolu.lu@linux.intel.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, regressions@lists.linux.dev References: <20230416065503.GB6410@lst.de> <5f37b0b0-6cb5-b210-a894-d1e91976126e@arm.com> <2a699a99-545c-1324-e052-7d2f41fed1ae@yahoo.co.uk> From: Robin Murphy In-Reply-To: <2a699a99-545c-1324-e052-7d2f41fed1ae@yahoo.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-04-24 14:44, Jason Adriaanse wrote: > I took out "iommu=soft" and the server failed to boot, so yes it does > break. > > The first error was > ata7.00: Failed to IDENTIFY (INIT_DEV_PARAMS failed , err_mask=0x80) OK, great, that confirms the underlying issue existed all along, so the regression is only a change in who wins a fight between certain conflicting command-line arguments, which is arguably not so critical. The rest of the evidence points to 88SE9235 wanting the same phantom function quirk as most other Marvell controllers, since although it's apparently been half-fixed such that DMA for two of the ports is being correctly emitted from function 0 - given that you say two of the disks *are* detected OK - the other two are still claiming to be function 1 after all. Thanks, Robin. > On 24/04/2023 21:20, Robin Murphy wrote: >> On 2023-04-22 07:25, Jason Adriaanse wrote: >>> Hi Christoph, >>> >>> Sorry for my late reply, I have been on the road. >>> >>> So, if I boot with >>> intel_iommu=off >>> Then the server boots fine..although that is not a solution because I >>> need Intel iommu for virtualisation. >>> >>> Also, I build all my kernels with CONFIG_INTEL_IOMMU=y >>> >> >> If you boot 5.15 *without* the "iommu=soft" argument, just >> "intel_iommu=on", does that also break? >> >> Robin.