Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7339229imm; Tue, 28 Aug 2018 10:14:05 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbxyK312m+nyzo2PWKoCq4BfyumE9lKWybWrJrjv8X6leQHTb4YC0UeHDWzN9SGlOB/xmPR X-Received: by 2002:a63:ff54:: with SMTP id s20-v6mr2398410pgk.241.1535476445179; Tue, 28 Aug 2018 10:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535476445; cv=none; d=google.com; s=arc-20160816; b=pqfdHTYfVNj4G+RULPXC6y5CLDxUMFUCfnNVZEM/gnsitiWrSplUGqXhP3vYaBFTUT TPEIvvmIy4qvIR8Lgozb6ynBPZcp2wR65iHohgGxYyJl/NxQmmEHug0GE97rXwvrQY46 ml6mVYCpwOkwtiw1mWA38LdLtauqnjdxM11kxLApWe67lgPM81SS+2fszrgiCsQmPKr8 UFE8+Fux8jB54yrYcPBTEJ5gBNRACY+SR0j68YfgyiUdeOr303TRL4EcKPhsUinURoaq kCW5iWdoVBnCZQ/+ku09dxvGvqrDyOlD4rvrml0hnNLDbyiqT/HJ28YrEFFqF4plh3fQ ACSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=1fw+sFVg6zxjhVWrF8aKzxHnK7ZTx5DnchdlgWbz8jY=; b=fBsFuCvxBC35GKMH7qlm9x4TeVbsyO3nK4rNs6cv4HxKoaNibK3Rl5P2JxmFFmri0b /Cr2+U3Z/gIBM/bnBYEIzZkD6wjsk9rrQU30q/FEsBIgRbEsyxIdAF4Y3K257C7AipD9 gr5sD/yB/jGLU/53rl5foB+FWcRxqV0rNR450FVeIdDiHaUfhlflcQPYaU1dLncr7kwf 9qYGem4CdnEpV3IyyEucDtbGNv7Trna+KELLCtTyXnNpmhNj3Q0hTEBULpSfPY2pHkUU 3JQmI+T/2YhcuUkHnXC+bewQOMoUBfDDHmNB8BzL/ad7H2x1yPY4mBX8xLJdBxPlxQyM WnEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=D44USRBZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14-v6si1515587pga.21.2018.08.28.10.13.49; Tue, 28 Aug 2018 10:14:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=D44USRBZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727684AbeH1VEy (ORCPT + 99 others); Tue, 28 Aug 2018 17:04:54 -0400 Received: from mail-it0-f68.google.com ([209.85.214.68]:50690 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbeH1VEx (ORCPT ); Tue, 28 Aug 2018 17:04:53 -0400 Received: by mail-it0-f68.google.com with SMTP id j81-v6so3754882ite.0 for ; Tue, 28 Aug 2018 10:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1fw+sFVg6zxjhVWrF8aKzxHnK7ZTx5DnchdlgWbz8jY=; b=D44USRBZDZm3DZon/S92dAaX1oAF7G7Dtd2dykLRSTTZAisyg4etra5GiCndvblnmk amz4lFwLsF18jDUuETIV9ADB0th9Y3ezOczQevEOl/n77qv+wPQnzqeaaMmpnPkGUPWn 4IC4pUc0i0IFVeiypFB2wqkHXkjqT1jwkcOPt9tOqt/cP3U2Ibof2okcX9XkkscQIQNW PeKi/DUpoZc22rWZWpXCTnSK/i5Px4+g/7LgHyvLylK8ynLwRI8ezk2wMKYD5euU7DZf oFBgRJVXhNVj7Z5XYsrvNSNIgLcCLXAC1GtcvEkPFJOrvAJmkzS1C0NlFj2m6cGNCBuS C//Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1fw+sFVg6zxjhVWrF8aKzxHnK7ZTx5DnchdlgWbz8jY=; b=cfgqYXwljOa6i34HRjiaD/l7xgtHOXf2ErOwbQ/jWpWEHga6Uf0uKQD6kqLLoMUJEP PcEkPywuQo/Cxu05+may4qUEgHIbNaW9xccEnMO4/Uz3epLQK60S7D5Vw9Wnlz8ml+cK AcITGVmblwsJoMjRSUmN14IjK5YQP9eH1KAzHNxyFX9M+oFh9i+fHhxay1SdJbeXD4Lp 7yPJjCFmPIkuiBY+Gz83uvc1F+xlPRzftg3YCZYk5HaHzWe4KiORHjNDQgEpwz4PLbOB 5wN1q9zziEt11YbGVM1EfHIIHmGEkJFa3XkgvLlm6dmHyEnw0Xwm2WD8nH96tFTR7YC2 evhQ== X-Gm-Message-State: APzg51DFF7dwbHf7ZrzoSE5yr0nsKYrC/79lFfHw0RJuCH6ZhokiOXXy 2iZjlmxIJNwib65eGz3EfwjyUQ== X-Received: by 2002:a02:b459:: with SMTP id w25-v6mr2188584jaj.32.1535476336448; Tue, 28 Aug 2018 10:12:16 -0700 (PDT) Received: from ?IPv6:2620:10d:c081:1131::1205? ([2620:10d:c090:180::1:e62f]) by smtp.gmail.com with ESMTPSA id g10-v6sm736188iob.88.2018.08.28.10.12.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 10:12:15 -0700 (PDT) Subject: Re: [PATCH] Revert "blk-mq: issue directly if hw queue isn't busy in case of 'none'" To: Ian W MORRISON Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, kashyap.desai@broadcom.com, loberman@redhat.com, osandov@fb.com, hch@lst.de, bart.vanassche@wdc.com, hare@suse.de, ming.lei@redhat.com, Adrian Hunter References: <20180828154727.3589-1-ianwmorrison@gmail.com> <211633e2-a812-d489-e11c-c3f271c465fc@kernel.dk> <1cbdba28-3ff5-2bbe-a2cf-b533249c6970@kernel.dk> <853d7213-c6ce-5de9-6c83-806c3b8f18ca@kernel.dk> From: Jens Axboe Message-ID: <702eb090-2bf4-69d1-bfb6-afdca4ba5c5f@kernel.dk> Date: Tue, 28 Aug 2018 11:12:12 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/28/18 11:01 AM, Ian W MORRISON wrote: > On Wed, 29 Aug 2018 at 02:13, Jens Axboe wrote: >> >> On 8/28/18 10:10 AM, Ian W MORRISON wrote: >>> On Wed, 29 Aug 2018 at 02:09, Jens Axboe wrote: >>>> >>>> On 8/28/18 10:07 AM, Ian W MORRISON wrote: >>>>> On Wed, 29 Aug 2018 at 01:48, Jens Axboe wrote: >>>>>> >>>>>> On 8/28/18 9:47 AM, Ian W MORRISON wrote: >>>>>>> Kernel oops when booting on Bay and Cherry Trail devices >>>>>>> such as Intel Compute Stick. Bisected as: >>>>>>> >>>>>>> commit 6ce3dd6eec11 ("blk-mq: issue directly if hw queue isn't busy in case of 'none'") >>>>>>> >>>>>>> This patch reverts the above commit. >>>>>> >>>>>> Did I miss the posting of that oops? Just curious where this is >>>>>> going wrong. Not adverse to reverting, but I'd like to try to >>>>>> understand the issue first. >>>>>> >>>>>> -- >>>>>> Jens Axboe >>>>>> >>>>> >>>>> I've not been able to capture it however manually transcribing what is >>>>> on the screen: >>>>> >>>>> mmc0: Got data interrupt 0x00000002 even though no data operation >>>>> >>>>> followed by: >>>>> >>>>> mmc0: sdhci: ============= SDHCI REGISTER DUMP ============== >>>>> >>>>> Do you want any specific register value or should I transcribe each >>>>> (as I am working from an image taken at boot)? >>>> >>>> Just take a picture of the screen, that should be good enough. >>>> >>>> -- >>>> Jens Axboe >>>> >>> >>> Attached as requested. >> >> Can you see if this patch helps? >> >> https://marc.info/?l=linux-mmc&m=153485326025301&w=2 >> >> -- >> Jens Axboe >> > > I confirm that the above patch works with commit 6ce3dd6eec11 > and removes the need for reverting it on eMMC based devices. > > Tested on Bay Trail, Cherry Trail (both now working) and Kaby Lake > (not affected) devices. Great, thanks for testing. Adrian, when is this going upstream? -- Jens Axboe