Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1486140pxu; Thu, 17 Dec 2020 11:04:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTN5Fc+3rb8g2MYSDCp1HNBYAbd//pwYPRHTYRI3MBLLNjCDNH8oAaZAd01t6OeBkC+1+n X-Received: by 2002:a17:907:1182:: with SMTP id uz2mr425634ejb.183.1608231873122; Thu, 17 Dec 2020 11:04:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608231873; cv=none; d=google.com; s=arc-20160816; b=BMxQyZkit8vsYupfJh6k1SUW5+OADzopVDDzAisW/VA3ayJqjsFEaoEavcFtqayCNA 3MKrAHWiaj2OE43OrdWfGupHQpQ2n2yCfJ+2ei7hL2LtAqr+IRp0HxC9zfl7P88ZXV8b KIDcYhpM9/16rxxbBNvaeF6f5B7/t//TmbQZNvWlQHP5W8EKqMZYOx2CelL9nIVdxESH WQNbwTPAySGkMY0sQLHn+nKvcPTq6v7yJhJ6fRHBw5KAWkuAJtEa77m6hBTTqM16pjZy eXqsYxK3h1zl/V+kQnH6SXn81DJ1WdwtJ5yleZebZ4Swt6KiMmIz+W21mTW4MGZA0b+O WXLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:dkim-signature :date; bh=lvTu5yB0Zd4wgO0NE+LEyq4Blst6m8Scx5/B3iNEj2A=; b=cBJJ7PlVldD3NoN7KqMhm40bQai+uvmNrLgpn4ymfbMhKAjZWS0YKusYPjdDEWKr07 w6pnic0cNzS5rSN+dwzAk8/9qEnKs3b7YO3VxAcb80UcrKSLtJ5hiIf3t3YBlaNqTa1m EkgV+MnT67NLG/Vz5YYpNEbCyxjxAkRpbv0OLG3oUUcNGJyUZGsOtqSfRJG+rdNzExdA 4TBk/nboPf+BXTcORu6KiNpP7rtJ6iqGAfARFNPmqpNSeMgA2Bd0DTiPaphcip+DCF8T gc94bOUDxnaiJU8EHGs1p7bQydl6SqefrgVsAo9flDNHJ+/4uMa5gmNd8IOtRcrBaXe3 y1/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Pa35194t; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v1si2893284ejf.162.2020.12.17.11.04.09; Thu, 17 Dec 2020 11:04:33 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Pa35194t; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729685AbgLQTDP (ORCPT + 99 others); Thu, 17 Dec 2020 14:03:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:45016 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726548AbgLQTDP (ORCPT ); Thu, 17 Dec 2020 14:03:15 -0500 Date: Thu, 17 Dec 2020 11:02:31 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608231754; bh=TGBdk2PPbv7ruxBpQK/ogPoRxBzDFo1DxKjhtgORch4=; h=From:To:Cc:Subject:In-Reply-To:References:From; b=Pa35194tTiGwkAR+QAa2/igi1kHQFSZXjfWyOXjv8YdmiYbRjiyalfegzDRdPRIZR 6n16WN6/Eqs8ZEWaAVquLfJGLYb9cveL223dcFF/wzZClS46yzdR5PSJZAVMQlclik jPG+dMWvNQMYklKddK28Ae88Dp03gO14lRJ7SpMo94XMLMx/h38rzIzwJManxBt9lF lIyIbLkLvKeyAfB9oTY8raNwbySPHxAOefqSgHoCvF+/K6rYR8D8SypzaO4N0NXDbK Q6BV8P/b4z2w+zk8PU0WMWWjBgLk6gNeGRzo+7Xw5yFy6X8syqt8B76r3P9+1MV3nr Do5sjXLAWIm+A== From: Jakub Kicinski To: George Cherian Cc: Colin King , Sunil Kovvuri Goutham , Linu Cherian , "Geethasowjanya Akula" , Jerin Jacob Kollanukkaran , "David S . Miller" , "netdev@vger.kernel.org" , "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH][next] octeontx2-af: Fix undetected unmap PF error check Message-ID: <20201217110231.4b798ecb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 17 Dec 2020 05:24:34 +0000 George Cherian wrote: > > From: Colin Ian King > > > > Currently the check for an unmap PF error is always going to be false because > > intr_val is a 32 bit int and is being bit-mask checked against 1ULL << 32. Fix > > this by making intr_val a u64 to match the type at it is copied from, namely > > npa_event_context->npa_af_rvu_ge. > > > > Addresses-Coverity: ("Operands don't affect result") > > Fixes: f1168d1e207c ("octeontx2-af: Add devlink health reporters for NPA") > > Signed-off-by: Colin Ian King > Acked-by: George Cherian For some reason patchwork did not register your ack automatically. I wonder what happened. I added it manually. Applied, thanks!