Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8605878ybl; Thu, 16 Jan 2020 20:45:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzCLkXUoLaG5xd46nvdtBQa1yep0I+JDhFjRPGuro1KmULdhR/VpyT8fjogAROwIpTfnRmA X-Received: by 2002:a05:6808:8f5:: with SMTP id d21mr2150016oic.58.1579236343186; Thu, 16 Jan 2020 20:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579236343; cv=none; d=google.com; s=arc-20160816; b=Etye6nWeNOr5+Faw1/fPyRGq2LXAEqAQY+cDKLR6RhtgH6pnxEE3fjRhfJwD5u+Ovi o9KfyvwUafMCmzcMwaZUHkD7ZKb7CnbB40I2DEomSX02WIU5d8OIluO16zOhEn/e5idG hlUzYLHzSodxiY6hvZBBbE0y7QE1QaBMG/O72jMMyH/kikEX0tOXvYyhTWSuhZlKeOZr pqVSt4HsawRTx1tthJY4vo7EZzkY2RyTxVw+2TfUJBKwonWvdmwGfu0E6tfaG5bTbmTO rvWFhZoIa1uRz+WBB4kE2SwD9u8h+tgHMzkciSd0kibLv8wGa9mRlJ6C/FGeZi5Da2+N C88g== 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=FWbqwqyzaYRfesDnSFSQ5Fncf5EJgj8s88cq7JmcFQ8=; b=tDHgHhwQ25dE3QaZcqiWtoPy2cYiF3KJlLOKywdxOTxhABqaTIjKaDqo4fRlgX945N PgNgx/SOTN5l17Bx2IHP3JKlyrInfMb7Svw/eLXEZi5V/Kea/POZvQIJvb6vhciUg7fX L2kdz31xHNOkM1gEUzb6zd/HN72pGrTLFBLE0vraOPz4Pe6wLr39DYmQjFy/GG73D0qo igNZbzsMTvFIaeMsCUYBCR19izb6efi8aWYGHorLkR0L4sIYH/2M0CD2Rj36R5+6VXti RAUmWmaLAUzhkrdmedx1YWUCvhYoqHJ3VTOLbgvgXBP3AfxCZLYWBzEoHRIY+uleAN9a Wq7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="rkipbhc/"; 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 l17si13371434oie.41.2020.01.16.20.45.31; Thu, 16 Jan 2020 20:45:43 -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="rkipbhc/"; 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 S2390977AbgAPXrV (ORCPT + 99 others); Thu, 16 Jan 2020 18:47:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:48002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390744AbgAPXVD (ORCPT ); Thu, 16 Jan 2020 18:21:03 -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 64EC42072B; Thu, 16 Jan 2020 23:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579216862; bh=W+Gri1dui11+ZSP4nNWrDjhwU54HKegHjy00ebz6aN4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rkipbhc/oXxhZWBxKM/VIQjcurFKy7I0df/biE5cVTkFA7Gu2+sASQtMq1WF5M3kb BxB2D8iEcDcKb0ECY9y2tswjUspCofEcx+utv1W2x1a7X9jUy+m1LVaYGmA7UY1B0J qXmMJMAGRYN08TAsMiXbSDbSyidN84mbnFxOpSec= 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 5.4 034/203] s390/qeth: fix false reporting of VNIC CHAR config failure Date: Fri, 17 Jan 2020 00:15:51 +0100 Message-Id: <20200116231747.170050880@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@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 @@ -2072,7 +2072,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);