Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754710AbbGXRWQ (ORCPT ); Fri, 24 Jul 2015 13:22:16 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:36031 "EHLO mail-la0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754628AbbGXRWN (ORCPT ); Fri, 24 Jul 2015 13:22:13 -0400 Message-ID: <55B2743F.6060304@synopsys.com> Date: Fri, 24 Jul 2015 20:22:07 +0300 From: Vineet Gupta Organization: Synopsys User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Kalle Valo , Vineet Gupta CC: Peter Zijlstra , Ingo Molnar , Arnd Bergmann , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Brett Rudley , Arend van Spriel , "Franky (Zhenhui) Lin" , Hante Meuleman , Pieter-Paul Giesberts , Daniel Kim , linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com, netdev@vger.kernel.org Subject: Re: [PATCH 2/3] brcmfmac: dhd_sdio.c: use existing atomic_or primitive References: <1436429599-10762-1-git-send-email-vgupta@synopsys.com> <1436429599-10762-3-git-send-email-vgupta@synopsys.com> <87twstbi9p.fsf@kamboji.qca.qualcomm.com> In-Reply-To: <87twstbi9p.fsf@kamboji.qca.qualcomm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1779 Lines: 42 On Friday 24 July 2015 08:02 PM, Kalle Valo wrote: > Vineet Gupta writes: > >> > There's already a generic implementation so use that instead. >> > --- >> > I'm not sure if the driver usage of atomic_or?() is correct in terms of >> > storage size of @val for 64 bit arches. >> > >> > Assuming LP64 programming model for linux on say x86_64: atomic_or() >> > callers in this driver use long (sana 64 bit) storage and pass it to >> > atomic_orr/atomic_or which downcasts it to 32 bits. Is that OK ? >> > --- >> > Cc: Brett Rudley >> > Cc: Arend van Spriel >> > Cc: "Franky (Zhenhui) Lin" >> > Cc: Hante Meuleman >> > Cc: Kalle Valo >> > Cc: Pieter-Paul Giesberts >> > Cc: Daniel Kim >> > Cc: linux-wireless@vger.kernel.org >> > Cc: brcm80211-dev-list@broadcom.com >> > Cc: Peter Zijlstra >> > Cc: Ingo Molnar >> > Cc: netdev@vger.kernel.org >> > Cc: linux-arch@vger.kernel.org >> > Cc: linux-kernel@vger.kernel.org >> > Signed-off-by: Vineet Gupta >> > >> > Signed-off-by: Vineet Gupta > What's the plan with this patch? Should I take it to my > wireless-drivers-next tree or will someone else take it? Per last discussion on this topic, Arend wanted to discuss abt this with Hante. I'm not taking it anyways so feel free to pick it up if you want ! -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/