Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1689369ybi; Wed, 17 Jul 2019 20:10:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/vA0Pnx8LJX1LcwgUFvvQuv+FN7mLVEZeum0DBmpSXwW0WEhfEH0amUhaDQf1q1ktNVKk X-Received: by 2002:a17:90a:bf92:: with SMTP id d18mr49434408pjs.128.1563419431452; Wed, 17 Jul 2019 20:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563419431; cv=none; d=google.com; s=arc-20160816; b=sf+SAXhYtm5o74fVkOPzTIoaKAsMQwuzeDV4zGk6K8quR8OddD8I/OGOBeS+XNN+tw Cq/mQNQ/S+nQJCu3v1D3OTlQYRLYNTimLl0XfdOMjiNP7qWo0KRt5ZsFHkOJL9vNwL6c WRUb3kuWATIP3TWRCdgMvenW9EtgWUu4LShx5wB3UBwoNo3wmnrEHqt8Ym47dhC6sp2L 5pgCjx7z+l5i6mfTwbHeRmjFgfqmTTJUMlDXZR+ZvcdTw8USEDVzppnS3NrLvM32gREv bztU3MnbhYzchWbefiIs65YsKq4bppmoP9zNNKPLfgr7N8mXqZAfdnZByLsYJFsE5ct3 AnYA== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m1rzRL+BULDJe3L84uPpp9uMC4Vfs/2uznwNzkaQA3U=; b=FSTMDYtEwdNI5Oj+wkuZJ+jSKuhZ5hkCcK/UYxFJhvqyHAGiYYLip+/HOOBlExvo2S HlPkkMXhNElXWPO8SbgOz2Yorua2LU3ERL69JMQYLqT6juXXqwiiK6u95WPd0yvMIXLw 6zxzkpxYuGc6qhmP/Ko4hwg9ViO78y0bOeDjorSYGBMDKYwkTNS/JBZ0HRNfg80UNpwe fXPV0Eg2RywrAN9Q3jDftWEUZk3rUFCDl3HHgtU/hBwDssbkUsOBr0tehSwKFYQZOvBr QssP4mNJ4Gj29UMeC0OgxAHtP4uSXHnimE1FVKRnNE8+Br9PmQYVfx3zsr7OclCsVny9 T5Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JSOMhyIW; 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 f21si1079903pgj.263.2019.07.17.20.10.15; Wed, 17 Jul 2019 20:10:31 -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.org header.s=default header.b=JSOMhyIW; 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 S2390563AbfGRDHz (ORCPT + 99 others); Wed, 17 Jul 2019 23:07:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:39634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389707AbfGRDHx (ORCPT ); Wed, 17 Jul 2019 23:07:53 -0400 Received: from localhost (115.42.148.210.bf.2iij.net [210.148.42.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B850B2053B; Thu, 18 Jul 2019 03:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563419273; bh=EjQiwJFzN6vC59pTA0kUIUoNEPvkuQCYIO3Sbda2fAo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JSOMhyIWM4g4kdiAmEViy/KDkHL3ps1yexm5d/HR8ZK+Bxn9zM0zEmsx0u1Z4E2OZ dz/uOMqdclB46xcWcSXXa2MfZsTXe0XXeHL3kGqVtZLxxBRB2y1ADpXHHaxvzIWbkN BkUVhHXRMicZYXgChozUmofQpPLtGuwj3rmBEgM4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julian Wiedmann , Vasily Gorbik Subject: [PATCH 4.19 39/47] s390/qdio: dont touch the dsci in tiqdio_add_input_queues() Date: Thu, 18 Jul 2019 12:01:53 +0900 Message-Id: <20190718030052.060549614@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190718030045.780672747@linuxfoundation.org> References: <20190718030045.780672747@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Julian Wiedmann commit ac6639cd3db607d386616487902b4cc1850a7be5 upstream. Current code sets the dsci to 0x00000080. Which doesn't make any sense, as the indicator area is located in the _left-most_ byte. Worse: if the dsci is the _shared_ indicator, this potentially clears the indication of activity for a _different_ device. tiqdio_thinint_handler() will then have no reason to call that device's IRQ handler, and the device ends up stalling. Fixes: d0c9d4a89fff ("[S390] qdio: set correct bit in dsci") Cc: Signed-off-by: Julian Wiedmann Signed-off-by: Vasily Gorbik Signed-off-by: Greg Kroah-Hartman --- drivers/s390/cio/qdio_thinint.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/s390/cio/qdio_thinint.c +++ b/drivers/s390/cio/qdio_thinint.c @@ -79,7 +79,6 @@ void tiqdio_add_input_queues(struct qdio mutex_lock(&tiq_list_lock); list_add_rcu(&irq_ptr->input_qs[0]->entry, &tiq_list); mutex_unlock(&tiq_list_lock); - xchg(irq_ptr->dsci, 1 << 7); } void tiqdio_remove_input_queues(struct qdio_irq *irq_ptr)