Received: by 10.223.185.116 with SMTP id b49csp2363471wrg; Mon, 5 Mar 2018 01:18:57 -0800 (PST) X-Google-Smtp-Source: AG47ELtDOHMT+XFDY6X5+5SAWqm95+kQi7FpSTmZ2QCJDhSKcqijRksQu4N0bpFlXfM3C/H0O7zp X-Received: by 10.99.135.65 with SMTP id i62mr11693978pge.331.1520241537034; Mon, 05 Mar 2018 01:18:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520241536; cv=none; d=google.com; s=arc-20160816; b=B6VUZ7MVufmbI96Mg7CWco+C2Xf1Mh+pB2w4VhmMe2HMfQABNbG2jmHgtdNj9KxwHt UjPRDgIpPOysZNdIvRPMJAZM8w61g+gNdAdHSMpguwpyVLllbBvUj/52BscRlpqsjnSp LroBqdpy4z7JR81YFaltLBhs/q3svfbqM28ln/y0agFt7VSS8+oqFTBVHwG7xwcP/3m8 ek4LdEMEgfutqZnOhOU7V5yUMNKOqu+XZ8HkbJ/GWqhHrEWl43PldAXUJ2EOhzr+i9y/ s1X8sq+eOo8AdQ59+i51q/ylVTRPhTMklABsqbTg7HEaXy4T5diTJqVuJWLAYe0Z9AN/ fvsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=h6e0sIUEA6DUJxJvZDj1jWudpHkv8MCLtg3CW2uzyR8=; b=tfftePl6FfZbTc3CZPoXfkuevmqRjzmqOueuz5D0nCaqUR/a6O4vk9RCZNFnlFztjs uvhRRTMPmn6Z4w7hdoJ7c7wRvLlXjkPa65htur0sR36KC1LoODIPY6ebp8E3hjvSgQYK hI6/Covw4oWd2mwnUazOKVd4wTGB0p8vRmhRd0TSOQ8tP4gvvAOGrTKOxpHdTE6cNjJt h7O6PkOrNMi6lV9h4L0ZC+HextIDeyWGwmu5Q1uPkY3ZsG2L6nBoduR3FCpJ164Jcw4W BGMBUdloqpXpsVXEe76h4ubHxnZqlsf6nXLB4BzL+S5c/mgSLu/vp/tFgy5hj0KPctDS 8dKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=YSpoQ9XC; 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 z124si8091944pgb.811.2018.03.05.01.18.41; Mon, 05 Mar 2018 01:18:56 -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=fail header.i=@gmail.com header.s=20161025 header.b=YSpoQ9XC; 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 S932926AbeCEIIg (ORCPT + 99 others); Mon, 5 Mar 2018 03:08:36 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:42266 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbeCEIId (ORCPT ); Mon, 5 Mar 2018 03:08:33 -0500 Received: by mail-qt0-f196.google.com with SMTP id t6so19352137qtn.9; Mon, 05 Mar 2018 00:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=h6e0sIUEA6DUJxJvZDj1jWudpHkv8MCLtg3CW2uzyR8=; b=YSpoQ9XCHr3Ii8o2E/7v3cZj2S+NHxyL5esv8Lj7QdBxWt+C/ct2EsZoULoDyQHhkO sCCIfyUhRG87kITUwTBdc8f+XmGLDQSp5N6GX9CJpW7JMM/VVdO2nGxSwr8OpcYyTmEe kiEozXTOvqfBPsbtwWVNTAhFhQ1fI3Gt/PcMU3g68QMVREEZE34cucl3VRsCzld+6AdW 52kq5tgInauJUb5aGGEwXu9q+Fxq3MmlBn8uv2iwhZLJMVN9eqs14cRNUj7uR8ESNp4k Rr7hjyMsuOxtk+CAhYdB8KQ7jFshCvKHpTb83o0TTRx3bjuNxxGR2X7ACOjcQornmEe9 LdmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=h6e0sIUEA6DUJxJvZDj1jWudpHkv8MCLtg3CW2uzyR8=; b=Yy0Mkz1XB1Sqjo2hTC/Xhtjs/erpVpE09CZeRBP/6073tMayaF1dxrgkcPPjj3/OOP fOVWoDUKFYxpDtoG9fqfUtJNHyTTqsrbPaWSHdBflem+maKOuE3YFa/LQvgBchD0azPn NTE4JfWSnqE8sQ2rol5nHRWVIiyZL5qubVQ/HnK/Zc5pNp5MOMhsIDyVtqkYTzo+X4tJ nOszooYgGLNkmVpL1ORcpepooASYzP5iH6dcaRCM0LkHbcdkMHgyCrZ+poZjFoHPbSAm Aa4gwyboHx7riDhlo75dRTVA9+m0l1xrUHHeYUVPc/X62pen+ZS5s4usLE1uTAaWuFOt rr8Q== X-Gm-Message-State: AElRT7E61X965wpLP5eHSYB3UOmZmXzHz9xZ2KWZaYPjaowbkcb9YX6h ZXgGnHNzO11y650EToxlizdl6SwKr9ENIZOV+RQ= X-Received: by 10.200.81.215 with SMTP id d23mr12211967qtn.272.1520237312783; Mon, 05 Mar 2018 00:08:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.219 with HTTP; Mon, 5 Mar 2018 00:08:32 -0800 (PST) In-Reply-To: References: <1516375450-30575-1-git-send-email-geert+renesas@glider.be> <1516375450-30575-3-git-send-email-geert+renesas@glider.be> From: Geert Uytterhoeven Date: Mon, 5 Mar 2018 09:08:32 +0100 X-Google-Sender-Auth: XqZr_x1pkcoWMtOklbzpD5hnILU Message-ID: Subject: Re: [PATCH 2/4] ARM: amba: Fix race condition with driver_override To: Todd Kjos Cc: Geert Uytterhoeven , Russell King , Antonios Motakis , Adrian Salido , Sasha Levin , Greg Kroah-Hartman , LKML , stable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Todd, On Fri, Mar 2, 2018 at 7:23 PM, Todd Kjos wrote: > +stable > > what is the status of this patch? We'd like to get it into the android > common branches to fix possible double free. Thanks for your interest! So far this patch (and the 3 others in the series) haven't received any comments. If someone sends a Acked-by or Reviewed-by, I can submit them to RMK's patch system. Thanks! > On Fri, Jan 19, 2018 at 7:24 AM, Geert Uytterhoeven > wrote: >> The driver_override implementation is susceptible to a race condition >> when different threads are reading vs storing a different driver >> override. Add locking to avoid this race condition. >> >> Cfr. commits 6265539776a0810b ("driver core: platform: fix race >> condition with driver_override") and 9561475db680f714 ("PCI: Fix race >> condition with driver_override"). >> >> Fixes: 3cf385713460eb2b ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'") >> Signed-off-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds