Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1575976pxf; Fri, 19 Mar 2021 10:09:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFFvGvOlibytgPzio8ItGVxDmVJH3BaPPFfOsZzgq4KOavBT1OaqzMJLVgPM+WAevPKw4l X-Received: by 2002:aa7:c398:: with SMTP id k24mr10769355edq.61.1616173798003; Fri, 19 Mar 2021 10:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616173797; cv=none; d=google.com; s=arc-20160816; b=HVwWM0132PS+PZxTfbrNQ6oD1tna4yUbwjzuqkrNI8/hCdMzpVi5MPWeAx8KcMb1OM lhYQZYfFcKpCZTXgopPIYwVHqdin/JVoa5n/tRKTMNXsRytLHkESwMmdm4id66OM6zjE rwXNbXu2SE/zthf5utHb4PxegB5rMBhgjsiOCLRhN+jXKD/DjwKf5kz1WcUkZtFYKXxV k82FKoF+Cyf51GgbQBcQLjqGd0tTw5gnVV0XBVMwWBzwzMQ8pSccswb9KbJbP6yn+epA YUt7PpkTlO4T+uP1/k8jz62V2mllPU+akJRkXxpJyEaSVpWiDoyB41EMVitxrm3iPhux YOEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jLA7jhfpTD/gf7DnkGIEr5ZaUexlkr8MeBHoScCGjoc=; b=UwQzl0RhShE1WHVB3hK1kC6SPEMqtAWgkRshGgqc6zD1LebzhJ2xz3PaxRxpLUrdqX s+r46z+OP7ZYChI6yRId5VXt5lIbc2q7KXFBEsQ6vXLABIF0khtQfTF5CeoaxAkKEOtZ cSFRxkr+SzKKeXhr4wYwvcztlEnxl6Sw/7UWQaRIf0RhQ+3Fza3VD4Uuu4qiTY/vT2YJ BN/lJgyCuk4aerr7iRYIN/hiImFEYMNO44fNuRnKxT7KrJ19/pWqYaDDgocrVWhI4ckm 3V3HJvhDxBQmJrseNeKvleXFVHkogOS1EpJFbzvduiiIoeBl9RPGa+sK8od8Tv2JfzpT wbtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=pMboij1O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si4404583edw.487.2021.03.19.10.09.34; Fri, 19 Mar 2021 10:09:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=pMboij1O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbhCSRIg (ORCPT + 99 others); Fri, 19 Mar 2021 13:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbhCSRIS (ORCPT ); Fri, 19 Mar 2021 13:08:18 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81857C06174A; Fri, 19 Mar 2021 10:08:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jLA7jhfpTD/gf7DnkGIEr5ZaUexlkr8MeBHoScCGjoc=; b=pMboij1OQVxOZWL2QhcrYt1e4 ToGGhJKSzZbwG4tYuMdaRP9gPpt3iDu4b/G0NaXY7sfwKJxe/52mpTd2kmN5uIR5OsW75mf8jZUrW WPnmH10ZCaejYOkmlHOdVaKWey6fs9pQ+H0cXPhiBrS3kdeoHaW7IDL1BrUx4ffaGPhE2rhmpqyDi zp2OU8cfqORCkRugVwO8Lpt0dlHOJ40hS8BdqlNhbrVpI/5Z5fhzcM4icQAGc8x1tnyWcva1k1eEV UVCAxGz0YiWDQP6WR61CDg1sx+GUloA3+yrX3gr9Q9J4KiPOdAu4lIeh5WxMpF1hbmHKVLWazLGsN nMDLsXwzw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:51482) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNIbN-0004eU-6D; Fri, 19 Mar 2021 17:07:57 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lNIbJ-0000hT-70; Fri, 19 Mar 2021 17:07:53 +0000 Date: Fri, 19 Mar 2021 17:07:53 +0000 From: Russell King - ARM Linux admin To: Christoph Hellwig Cc: "David S. Miller" , Jens Axboe , Geert Uytterhoeven , Richard Henderson , Ivan Kokshaysky , Matt Turner , Thomas Bogendoerfer , Michael Ellerman , linux-ide@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 02/10] ARM: disable CONFIG_IDE in footbridge_defconfig Message-ID: <20210319170753.GV1463@shell.armlinux.org.uk> References: <20210318045706.200458-1-hch@lst.de> <20210318045706.200458-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210318045706.200458-3-hch@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 18, 2021 at 05:56:58AM +0100, Christoph Hellwig wrote: > footbridge_defconfig enables CONFIG_IDE but no actual host controller > driver, so just drop it. I have been using the Cypress 82C693 IDE driver on Footbridge for a CD ROM drive, and I know it doesn't work with the PATA driver - as I need to disable BM DMA, otherwise the 82C693/DC21285 combination deadlocks the PCI bus. The PATA driver doesn't support disabling BM DMA without disabling it for all PATA ports, which is really annoying for my IT821x card in the same machine. So, I'm rather stuck using the PATA driver for the HDDs and the IDE driver for the CD ROM. That said, a commit a while back "cleaning up" the PCI layer appears to have totally shafted the 82C693, as the kernel tries to request IO resources at the legacy IDE addresses against the PCI bus resource which only covers 0x1000-0xffff. Hence, the 82C693 IDE ports are non- functional at the moment. I'm debating about trying to find a fix to the PCI breakage that was introduced by "ARM: move PCI i/o resource setup into common code". I hadn't noticed it because I don't use the CD ROM drive very often, and I don't upgrade the kernel that often either on the machine - but it has been running 24x7 for almost two decades. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!