From patchwork Wed Feb 3 13:45:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 375403 Delivered-To: patch@linaro.org Received: by 2002:a17:906:48d2:0:0:0:0 with SMTP id d18csp417161ejt; Wed, 3 Feb 2021 05:47:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxj335C1QzoeFlrouPnRBJbtuM1ks9fae4TGPfdfuR7DrW+DjB9wYXA55ycapxIa4iNpvHh X-Received: by 2002:a17:906:3719:: with SMTP id d25mr3304497ejc.256.1612360054447; Wed, 03 Feb 2021 05:47:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612360054; cv=none; d=google.com; s=arc-20160816; b=YM6CgPRfFRztEo4nfp3Nn6ejRnOof1EoCsNdR6O4ftmkyvjDXH5NeBzl59VrbPqe19 vKtiZj6UqllDwf7tQuqrJWquwp60+xSrdCI2GXneiQBbKv1umwFrstXW3IRumjDleA2h rN8RxJquPdlZtzRoh5h97xQgcfyCZPOO2zwrT/UUaHQUCVosGrB5r4iCcTjzCMEJgvKr tecjHCQo6NUEEmSP2hO9udgsfXbnWNI/aze1eDQboaAFdvozYmDPxOnjTEk/KiHMUXqP ddnqjbLQNhqCd8M06qrYvY4laf3b6kVs3Xk4nyrRDNz7ADdxlXvd8QBgolX2R25FjGwV sZnQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=l51u7EqcQEcx9+KXZhaeIMfDjprxiFX9d1vyuABKz48=; b=e0XctsuVCYy1gLevt5F3NExYE3S07/DNjzInhHIH5yUaaHnARZkNJFSuMSGRwG7gAF AWWIzdbLZsle53kRBRrA0Chyd1O2tH83m0AIil/O1/9pnIyE0eHkUApALoQLbeRFO2EN Fv6tQ8eKvkHfcTwYbnN5XUZVD9KGkeuFgjFgCEH12/atPwevqZ96u5/V++S7So+ovXP8 vLkn3cLfBfcBTHXIaOkrcxIpfdIwr5ClyLw/04VWGuXlFoXJ+NTc5SQuT1h0wr0N12OB Nrrb9pi/YLKI5/mz+QBGmcWjKaRa6eXQGSjJLZWA/ujvgSVzxi1uR8VzQPJ4jWeikyzA Rmuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pY617uC0; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz24si1404088ejc.430.2021.02.03.05.47.33; Wed, 03 Feb 2021 05:47:34 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=@linaro.org header.s=google header.b=pY617uC0; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232168AbhBCNqm (ORCPT + 13 others); Wed, 3 Feb 2021 08:46:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232179AbhBCNqb (ORCPT ); Wed, 3 Feb 2021 08:46:31 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A9EEC0613D6 for ; Wed, 3 Feb 2021 05:45:49 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id v15so24396738wrx.4 for ; Wed, 03 Feb 2021 05:45:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l51u7EqcQEcx9+KXZhaeIMfDjprxiFX9d1vyuABKz48=; b=pY617uC0lJwT9ras9URHSwi8i6mjb8jcQqqxBx6rfuDQqcKmo9XQXDBKDoYBZxjuMR qOZ/fHuX3g+IWQ+T4N0orv+ZkR4bh4B03m0PTJt4wpIP7xVpSrVmyp/Ka4m3tyUjq1D0 hCTiewXlNCgM8mQsbQiuxjviGm8nLwQCVAPhNqGljGQhEIqehtXCHUUIt/pZ/XLVGy4h QeIS8izLki65DPRZnpSyvCiVdIJR7LRiICp0iRWb1Em3Gbq45+30WVZMi6ZZnyeP3rn5 hpbRN9ptjXsx2rPddpcOQL4fCl7JI3bARY8hAu9pFKuIUtvvrcEU6M1vslisMrAtxhfu wDtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l51u7EqcQEcx9+KXZhaeIMfDjprxiFX9d1vyuABKz48=; b=rU4MGT6s1MO2OaSYYVHUPnIOx66d5/R1Se06Siy1pAomucgtlvy5kRzfZDNwoyj1Ek rlpxwL7ngWCw1r+SC+f+NJtmleVWLvasr+OsOYklzUk/x6xgV4+oa1mXp1P6JyYY9U+X Zd0lCUnrRPToK+glbvcsnA2NRG8T0IGrrOSixMGCJ97FKfvM0QQGXDMMsWJMLltDSuCd YmGV2mkrFVMFY3vVbn4JWTz7+CYMF9+x1Wee7kpSvlLIDXi+1BIDV471+e7TQE4T0fCC /ORW5fv7hzFhUsKLy9gM8WyC600/va7UJY9MuFHQR6+KvWJnh9UHP1q/xpCgXOYDvJI5 2nNg== X-Gm-Message-State: AOAM533D5aWVE29sPvhNJlLkYIiJ6X3dnZMol4SJwVMHCwWnZq5qv6mf Iryqef6fPvSpolBBmh2Pj7sxUMrU0Ev/Fg== X-Received: by 2002:a5d:610e:: with SMTP id v14mr3710740wrt.336.1612359947291; Wed, 03 Feb 2021 05:45:47 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id r124sm2867900wmr.16.2021.02.03.05.45.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 05:45:46 -0800 (PST) From: Lee Jones To: stable@vger.kernel.org Cc: Lee Jones , bigeasy@linutronix.de, bristot@redhat.com, Darren Hart , jdesfossez@efficios.com, juri.lelli@arm.com, mathieu.desnoyers@efficios.com, rostedt@goodmis.org, xlpang@redhat.com Subject: [PATCH 4.9 00/10] [Set 2] Futex back-port Date: Wed, 3 Feb 2021 13:45:29 +0000 Message-Id: <20210203134539.2583943-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org This set required 4 additional patches to avoid errors. Peter Zijlstra (4): futex,rt_mutex: Provide futex specific rt_mutex API futex: Remove rt_mutex_deadlock_account_*() futex: Rework inconsistent rt_mutex/futex_q state futex: Avoid violating the 10th rule of futex Thomas Gleixner (6): futex: Replace pointless printk in fixup_owner() futex: Provide and use pi_state_update_owner() rtmutex: Remove unused argument from rt_mutex_proxy_unlock() futex: Use pi_state_update_owner() in put_pi_state() futex: Simplify fixup_pi_state_owner() futex: Handle faults correctly for PI futexes kernel/futex.c | 276 ++++++++++++++++++-------------- kernel/locking/rtmutex-debug.c | 9 -- kernel/locking/rtmutex-debug.h | 3 - kernel/locking/rtmutex.c | 127 +++++++++------ kernel/locking/rtmutex.h | 2 - kernel/locking/rtmutex_common.h | 12 +- 6 files changed, 243 insertions(+), 186 deletions(-) Cc: bigeasy@linutronix.de Cc: bristot@redhat.com Cc: Darren Hart Cc: dvhart@infradead.org Cc: jdesfossez@efficios.com Cc: juri.lelli@arm.com Cc: mathieu.desnoyers@efficios.com Cc: rostedt@goodmis.org Cc: stable@vger.kernel.org Cc: xlpang@redhat.com -- 2.25.1