From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754854AbbLVPZi (ORCPT ); Tue, 22 Dec 2015 10:25:38 -0500 Received: from mga09.intel.com ([134.134.136.24]:54839 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbbLVPZh (ORCPT ); Tue, 22 Dec 2015 10:25:37 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,464,1444719600"; d="scan'208";a="867415275" From: Alexander Shishkin To: Greg KH Cc: linux-kernel@vger.kernel.org, Alexander Shishkin Subject: [PATCH v3 0/9] stm/intel_th: Updates for 4.4 Date: Tue, 22 Dec 2015 17:25:14 +0200 Message-Id: <1450797923-23072-1-git-send-email-alexander.shishkin@linux.intel.com> X-Mailer: git-send-email 2.6.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, Since the previous versions ([1], [2]) didn't land anywhere yet, I'm resending the whole thing with a few additions: Sasha reported a user-controllable allocation with a possible overflow, Chunyan found an off-by-one in another allocation path and I also found a couple of locking issues that are better resolved sooner than later. Please consider this for 4.4 still if possible. [1] http://marc.info/?l=linux-kernel&m=144845503811729 [2] http://marc.info/?l=linux-kernel&m=144706387705997 Alexander Shishkin (5): stm class: Fix locking in unbinding policy path stm class: Fix link list locking stm class: Prevent user-controllable allocations intel_th: pci: Add Apollo Lake SOC support intel_th: pci: Add Broxton SOC support Arnd Bergmann (1): stm class: Select CONFIG_SRCU Chunyan Zhang (1): stm class: Fix an off-by-one in master array allocation Geert Uytterhoeven (2): stm class: Hide STM-specific options if STM is disabled intel_th: INTEL_TH should depend on HAS_DMA drivers/hwtracing/intel_th/Kconfig | 1 + drivers/hwtracing/intel_th/pci.c | 10 +++++++++ drivers/hwtracing/stm/Kconfig | 5 +++++ drivers/hwtracing/stm/core.c | 43 +++++++++++++++++++++++++++++--------- drivers/hwtracing/stm/policy.c | 18 +++++++++++++--- drivers/hwtracing/stm/stm.h | 1 + 6 files changed, 65 insertions(+), 13 deletions(-) -- 2.6.4