Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7444094pxb; Thu, 18 Feb 2021 10:10:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdk+fKyMVrCdjbS59YmG76m7gnDRSyN9zK1lJjA6e0d9+kn0atKdWdl8Il05lrYDCwYKR/ X-Received: by 2002:a17:906:f4f:: with SMTP id h15mr5219782ejj.498.1613671837661; Thu, 18 Feb 2021 10:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613671837; cv=none; d=google.com; s=arc-20160816; b=k2krHpXRQPXFdkEd8VLMBw3tpk865mBEi+Xvu7ey6A7rpaRd4Kc7J2pBiZOf3/AXxm BqRbH9144DvqsxDDHBr3B0LH9z2XYkfjBaRbSGeInSPLOynOPHw1mjlzCqHVCyaIvoDa BSh9HekaQfTNhAbLsb275MXsQm6lfEUFzd1WIDoS/OV1DvJ8TsPTFriEo5WZI1BYHc3i ARfDuTsEv8WOmy5KBj+hjBWVjQStAgSsyHQCoMGhs6SSdsXuirF0TKjCEvERm2Y8eCSa uDv/njMTkUQdeOyA4lrUKt4U8PcytVJghk2Pkn2pWgenKulFeI+2ducpd0StovrV+7PR 9HVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=HNlmKXcHFwKXZ3lQCip3Cekwn845MPPEly4w3zH9oAw=; b=eW/IHZpIalEpEpMQPYt2jR8MOMIZj9/eJHMVWwX3l6GuXWVgx9QTCv6mHHf9s4Vmbm HDlMt/WwbO+2g9FBFe2PIpcdTxyGlF9l7qjUZMElj66wilnjnINYkj4BQsLPTdepah+7 ye57qo31bc8zoEMN7knSqBhT/Rcw4cE0o0Svgv5I8BiwYE5kRkci16IgV6/0jFHUQXW0 bmx42EKLtc6AhrmEflR3csC5z8PbcQw+KGN548/D5fa5n+dcrdZYxm4N2KBJb31Grvi7 LnRDnCEkFcirJ+GCxlx0ANIUjzhtQz2a7Z+Dh2JYvmMlqBZt6lqzQqHQS4ZAQRWys3aI w0vw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w11si4040770edd.280.2021.02.18.10.10.10; Thu, 18 Feb 2021 10:10:37 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231173AbhBRSI6 (ORCPT + 99 others); Thu, 18 Feb 2021 13:08:58 -0500 Received: from mail-oi1-f179.google.com ([209.85.167.179]:44928 "EHLO mail-oi1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231584AbhBRPje (ORCPT ); Thu, 18 Feb 2021 10:39:34 -0500 Received: by mail-oi1-f179.google.com with SMTP id r75so2368646oie.11 for ; Thu, 18 Feb 2021 07:39:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HNlmKXcHFwKXZ3lQCip3Cekwn845MPPEly4w3zH9oAw=; b=qY47nFzDnF6IigBIrFMvZbELu3PrTqJlYDUHVW7rCn4MrmukFO4BaHss8A4w3/u2jG 0luQMzqQcWOxJxhBAfJEt3oDF4LjGIVljQLEHYvG1GU3oQzdlMALyvWWxYk7C27KASgc JfqfYb4blYb3+4Cm5bUgsAiNjSzLtjumpGbO5Y9NRM3DruMH8giRVlGGlbZ0ukFbLmNw ZXECd9rHHVhmmJLCkeOVYddHNnN0UlFqdG3NAknHvFEvyN5CXRycD2DrpE+BGOGWxBrn GNb2ndt0MwC5ZnlMrd9gEExC9vD06pRjSktx3yVx/iFEaoG+q4jIDNsVs9LFgfgEqhu0 LVnA== X-Gm-Message-State: AOAM532Y2jHVmVgNsmPVEIN0nd+nbE9/LBBkDb62Y5ClHzBkvjClIwvX vK6wAYsajGLCHdZpLp/Xwsnz8TgR2/2Lp+6Jd+issil+ X-Received: by 2002:aca:d8c6:: with SMTP id p189mr3206817oig.54.1613662732142; Thu, 18 Feb 2021 07:38:52 -0800 (PST) MIME-Version: 1.0 References: <24e0652b3afa48cdbf7c83287e43c087@hisilicon.com> <0b766dba0b004ced94131e158cd8e67d@hisilicon.com> <5148eb2aaceb42d78087bc6d8ce15183@hisilicon.com> <5fcea94e-6fc9-c340-d7d2-4ae8b69890b8@telegraphics.com.au> <0c0ea8eca77c45ea89f2d4432580211c@hisilicon.com> <28d4b91d-1774-a8a-df97-7ac9b365c2@telegraphics.com.au> In-Reply-To: From: Geert Uytterhoeven Date: Thu, 18 Feb 2021 16:38:40 +0100 Message-ID: Subject: Re: [RFC] IRQ handlers run with some high-priority interrupts(not NMI) enabled on some platform To: Arnd Bergmann Cc: Finn Thain , "Song Bao Hua (Barry Song)" , "tglx@linutronix.de" , "gregkh@linuxfoundation.org" , "arnd@arndb.de" , "funaho@jurai.org" , "philb@gnu.org" , "corbet@lwn.net" , "mingo@redhat.com" , "linux-m68k@lists.linux-m68k.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Thu, Feb 18, 2021 at 2:59 PM Arnd Bergmann wrote: > On Thu, Feb 18, 2021 at 1:30 PM Geert Uytterhoeven wrote: > > The reason drivers/ide is doing that may be related to IDE hard drive > > quirks. The old WD Caviar drives didn't obey disabling the IDE interrupt > > at the drive level. On PC, that worked fine, as IRQs 14 and 15 weren't > > shared with other devices. On systems with shared interrupts, that > > broke badly, and led to an interrupt storm. > > So presumably anyone that has one of those old drives will not be > able to move to drivers/ata then? I see that drivers/ata doesn't do > the transfers in interrupt mode, so it would seem to rely on masking > at the device level. I don't know. This was an issue I debugged on a friend's Amiga in 1995 or so ;-) All bad WD Caviars may have died in the meantime... BTW, it wouldn't be the first time a drive quirk handling wasn't ported from drivers/ide/ to drivers/ata/. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds