Message ID | 20200107205146.991759745@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=ddew=24=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60393C282DD for <stable@archiver.kernel.org>; Tue, 7 Jan 2020 21:14:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2BCB72072A for <stable@archiver.kernel.org>; Tue, 7 Jan 2020 21:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578431694; bh=0qvwg7wr7w/Fkb/s8ijemyHsOCnZ++Y6lwmRapzSbSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=TqeudXi9LJWwSiSXERqFprhxDTxIadNOBdh4foDbwdh/AnIHQSsq0AEjDY37ZnxjY SMgCLH+LRxepd8No13G7qZQmDEzXfa5yF6ZfXPxPTrd1Ct0WAhwrA2+gkfKFRGW19r Q1c1CbTdpXZj+v4bemdbc33eti6YnvgUyr8AEwGk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729758AbgAGVI5 (ORCPT <rfc822;stable@archiver.kernel.org>); Tue, 7 Jan 2020 16:08:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:33732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729754AbgAGVI4 (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 7 Jan 2020 16:08:56 -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 1892E2072A; Tue, 7 Jan 2020 21:08:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578431335; bh=0qvwg7wr7w/Fkb/s8ijemyHsOCnZ++Y6lwmRapzSbSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2D2BUZhMOhtWQMCJPZPniitkYBlw2AZC0r2OiBR0weVxSZJ45NdNk9v9jtjne6zib fte+O+CmRpkWNp++xjmDyH66HP6BKbRsKffQi7ji7QTjbBlVChLs/mnK+y1/8oCJEm Yf1R7lt/KywB3lSIFPZqi8PKIayqhnrUQWIM2DCE= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Thomas Richter <tmricht@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.14 15/74] s390/cpum_sf: Avoid SBD overflow condition in irq handler Date: Tue, 7 Jan 2020 21:54:40 +0100 Message-Id: <20200107205146.991759745@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200107205135.369001641@linuxfoundation.org> References: <20200107205135.369001641@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/arch/s390/kernel/perf_cpum_sf.c b/arch/s390/kernel/perf_cpum_sf.c index 95c047bf4a12..b652593d7de6 100644 --- a/arch/s390/kernel/perf_cpum_sf.c +++ b/arch/s390/kernel/perf_cpum_sf.c @@ -1294,12 +1294,6 @@ static void hw_perf_event_update(struct perf_event *event, int flush_all) */ if (flush_all && done) break; - - /* If an event overflow happened, discard samples by - * processing any remaining sample-data-blocks. - */ - if (event_overflow) - flush_all = 1; } /* Account sample overflows in the event hardware structure */