Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp168320imd; Fri, 26 Oct 2018 06:50:44 -0700 (PDT) X-Google-Smtp-Source: AJdET5e8ZY5UFxwdywky94+Ig+3i/+SeZfLPTCSElbcEBPYeW1k+JOqbfH2hmbxcauTnX+9k4s8/ X-Received: by 2002:a17:902:8a4:: with SMTP id 33-v6mr3623801pll.304.1540561844140; Fri, 26 Oct 2018 06:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540561844; cv=none; d=google.com; s=arc-20160816; b=uM6dqFdLd+eEU/JDQrMVn6G3TrLg8Y5SvhVixfitImc/2dQZpy1B6WlTKGIfVjVsJB 2E4q6eB9EXEMaei5idaHmXGRukM45+h4SpFHRCjIzNcvSrZZ/fAlXKg8gfebxSYNe2Qi eEfYXw2BmjvZHPvCKYq8KkRj9H7LOX4h01IvbJNbLAMFfVKKcm8hGBUkmmpEZ0cSNnFB mKn0bd1qX1R0VQGhpWdXkdHDitlPXLd/y+h2YUirXnnLJd+Jj12QW/Z+iE/VMmKU6ZOu 5AzclwElkX1n0h3nlx3wcQeYeHSj5FGmobdXXDxyJAiNV6NW+5fxXCfqcUanUovixcgj LY/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=okyhvoYWQwfqWUqfOaMAaFMpasJVL2cKGTQAdia7tv4=; b=EjVmyvGmIVHlSzJk0s0eRlzBuITnug74y6xL6P4wvc8/AHeryCBOalvREZxaI+3QPC rlaPGxjzG8RwUzlnNsX2Wx5/tPWSxT+fgeymcrnkiLRDor8oxPW6QUc8Kr+xjaNs9pqU 6kTtW3rTNtZA4l4twZ4F5wYRl2qF8p41hgue/4DVw/RXm03Q1sqde+34RRXRT2O5MEv1 F+MhJy84D36FCiaA83tInZAjodk603SdVapOGS98Wev27rOq+0b7W455Kqv1idIzGFu+ cijv5W5eFXcK0tRhRe/v0hiGSOMLtM+N+sfBA8nq3aGPVgJBg/ndhLvHDsfhEB+HOyJi fn/w== ARC-Authentication-Results: i=1; mx.google.com; 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 p9-v6si11214235pfh.232.2018.10.26.06.50.28; Fri, 26 Oct 2018 06:50:44 -0700 (PDT) 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; 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 S1727764AbeJZW0m (ORCPT + 99 others); Fri, 26 Oct 2018 18:26:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:44822 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727501AbeJZWZo (ORCPT ); Fri, 26 Oct 2018 18:25:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CAA91B04E; Fri, 26 Oct 2018 13:48:35 +0000 (UTC) From: Nicolas Saenz Julienne To: stefan.wahren@i2se.com, eric@anholt.net, dave.stevenson@raspberrypi.org Cc: nsaenzjulienne@suse.de, linux-rpi-kernel@lists.infradead.org, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH RFC 10/18] staging: vchiq_core: don't add a wmb() before remote_event_signal() Date: Fri, 26 Oct 2018 15:48:05 +0200 Message-Id: <20181026134813.7775-11-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181026134813.7775-1-nsaenzjulienne@suse.de> References: <20181026134813.7775-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's the first thing remote_event_signal() does. Signed-off-by: Nicolas Saenz Julienne --- .../staging/vc04_services/interface/vchiq_arm/vchiq_core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c index 6242357735b9..e8b7ccabd9cb 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c @@ -1138,9 +1138,6 @@ queue_message_sync(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, size); } - /* Make sure the new header is visible to the peer. */ - wmb(); - remote_event_signal(&state->remote->sync_trigger); if (VCHIQ_MSG_TYPE(msgid) != VCHIQ_MSG_PAUSE) @@ -3265,7 +3262,6 @@ static void release_message_sync(VCHIQ_STATE_T *state, VCHIQ_HEADER_T *header) { header->msgid = VCHIQ_MSGID_PADDING; - wmb(); remote_event_signal(&state->remote->sync_release); } -- 2.19.1