Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8371140ybl; Thu, 16 Jan 2020 15:32:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzBHLckFBDc9vvojTZ8Gu9zYHjaikzWWpW2XPm/reHZTOgj0UdxHA8vwwR5s/6MT0ZUh1Xa X-Received: by 2002:a9d:806:: with SMTP id 6mr3951063oty.90.1579217532656; Thu, 16 Jan 2020 15:32:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579217532; cv=none; d=google.com; s=arc-20160816; b=b0oVxzi/v3GbtjSHRAJ6Qg5jSdrITrlnucV7SqC5knLAQsL3efRYzBxRn/mCpxlG4b eQUQNLI3GdrL5G6Ud/VnyLZMaGMHd9OdQtMvPnq5ZhhOPQosbMRYhOGq5jpKMUUG0N9X 07aF+KlzIt4i+UJW1XHsmiyhIDB8A9TKgN+hZs2e5mtn/LqjKiukDAaFv8kTMKYbI49V QIYDHYzKRdJsapwDdu+k25EZXrjF/5FNCzXNz6LR/J61/UhmVue3pzW5lzrfh0AJ1OZQ 3S5C2Vi/3GXAygczdPEgyUlvQSMksqIq0D/1tofB05Wg6pBDlFRpSf0mtN3wGUbj2jv1 JICw== 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=aXKabsg+3n/ugC9N1oHi8u3uvV0PJ79zl5Kf8Fh7W6Q=; b=L+1ReK8ZOVhz1KHm7P82lr+xdkqtJVp/vgQ+zzxDKQ/DGCjd9lgajsQfz9mF7Nebxj syepiwqVI8Uxh64UYeoqRgbze+XHR6AU/C6Ix42aQhPdxvXufeJGZzjurCYAXujrmZcM e6OUmu2TJv8RYccJpKQVpC/73o6Q5Y5fNtwa92xQ6xpPlSSAqopZLoezQ19kU+YO9vhz ewFVcjHebf4EN0WCzksBKn0su1dAIWGxsuDnQkWagk6W5w980q3D7lEOS8yKpYEUhVlt /iEz055nvwIZRESlaflnhHuJWaLf/mj8HrXtxWLriPNaFuPAgN7H1yOcmfqlP8LvcabP k2TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=myQTrWUZ; 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 f23si13506365oto.205.2020.01.16.15.32.00; Thu, 16 Jan 2020 15:32:12 -0800 (PST) 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=myQTrWUZ; 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 S2403783AbgAPXaF (ORCPT + 99 others); Thu, 16 Jan 2020 18:30:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:36078 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391366AbgAPX3y (ORCPT ); Thu, 16 Jan 2020 18:29:54 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 390C9206D9; Thu, 16 Jan 2020 23:29:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217393; bh=EpbH0jM1qqpILirwYTaP+35s+uBkOLXxHRMn5MSJZVs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=myQTrWUZaU3IoFb/iKIO8Ov1JDg1g+Gk85GCfGCVAOo3nXhTULW2i/bZsx+ottcrB zrdioCB7LkxE89/91uQv5XmfGOOHIAddc4EEcsPQYNtGbubrgtjo+Do1xUsi6sHb2i 6h/So6lMFfqpBlDowSJBhR80ciebuGqUEvixHDyA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alexandra Winter , Julian Wiedmann , "David S. Miller" Subject: [PATCH 4.19 28/84] s390/qeth: fix false reporting of VNIC CHAR config failure Date: Fri, 17 Jan 2020 00:18:02 +0100 Message-Id: <20200116231716.994739626@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231713.087649517@linuxfoundation.org> References: <20200116231713.087649517@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: Alexandra Winter commit 68c57bfd52836e31bff33e5e1fc64029749d2c35 upstream. Symptom: Error message "Configuring the VNIC characteristics failed" in dmesg whenever an OSA interface on z15 is set online. The VNIC characteristics get re-programmed when setting a L2 device online. This follows the selected 'wanted' characteristics - with the exception that the INVISIBLE characteristic unconditionally gets switched off. For devices that don't support INVISIBLE (ie. OSA), the resulting IO failure raises a noisy error message ("Configuring the VNIC characteristics failed"). For IQD, INVISIBLE is off by default anyways. So don't unnecessarily special-case the INVISIBLE characteristic, and thereby suppress the misleading error message on OSA devices. Fixes: caa1f0b10d18 ("s390/qeth: add VNICC enable/disable support") Signed-off-by: Alexandra Winter Reviewed-by: Julian Wiedmann Signed-off-by: Julian Wiedmann Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/s390/net/qeth_l2_main.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c @@ -2367,7 +2367,6 @@ static void qeth_l2_vnicc_init(struct qe error = qeth_l2_vnicc_recover_timeout(card, QETH_VNICC_LEARNING, timeout); chars_tmp = card->options.vnicc.wanted_chars ^ QETH_VNICC_DEFAULT; - chars_tmp |= QETH_VNICC_BRIDGE_INVISIBLE; chars_len = sizeof(card->options.vnicc.wanted_chars) * BITS_PER_BYTE; for_each_set_bit(i, &chars_tmp, chars_len) { vnicc = BIT(i);