Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5835517ybv; Wed, 12 Feb 2020 00:58:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzNn+eSjZNBGw++IV8tTRINyyPgqP78tcU+lQB1NsbByGPYJ6bD48OPGP9AVKcJOlZgjb4y X-Received: by 2002:a9d:51ca:: with SMTP id d10mr8413636oth.76.1581497928440; Wed, 12 Feb 2020 00:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581497928; cv=none; d=google.com; s=arc-20160816; b=GuC3bF/Od3WMOx1AhurlBiUIUxYcm2kTfTUuvegcMazeMEiQubi55ngM2iPsrbCQWd Tp6kYumUOlrgDCxg5ikS+sQvsdr9sDZljPCyGytjk6UjArX3Khl3ItmtooP6D9e3Pf81 pjDaEoJU0iwv+/xV+CS0yMEf3BtLy9L5sa9ZWhU/DlSCgjsCaP7tBCQxh/UW1doB20yJ z5NR7EOWAzPF/v1xnR6VsU/22fI7afRf1MqeXQv4rR9A4lmtEexstZVLX5k02XFb11N+ v1B9yDT1929XQY0NQZOcLej89njJEfLbvpwiHbKvf+9uFCckduSXfRKi9v7HwhAJuNQZ Cpfw== 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 :dkim-signature; bh=fkFsc1crcpbc03spvRPFRPP4kpxoZKtSmQVBSZfnJ9k=; b=Lt1I52au9oQGo3MKt1+2DMDQAHTe0jFpejOmKosfIU/QJHF+5Pc6DsScaHe2xV3uu0 XMV5vxvQWnr0YFiVBAN+fUYfakDDSdS9DetFuqtzVE1L/7AzbDIPblb2zMrhKhmoZLWB p5ic0bYhJvcEAPSAMqc8ucwfr3wiT9Af6BSUzpPtP00zFzz/YxX4E6e3pWN09ySL18Fj in7u7/eRGqja9qnSsExOeUEn0tFqd5yF4OnYblF3QKyPrNjRsxWg6pNNfrlXNLf9gvR5 ktBX200x2K9Ij554wZRE/k/pfwnEDK27lDrNJiimgY1cI17jW77Ykm7EfxVsumHpNHYi aMaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=cQJb69Ao; 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 k125si3112745oib.212.2020.02.12.00.58.36; Wed, 12 Feb 2020 00:58:48 -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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=cQJb69Ao; 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 S1728759AbgBLI6V (ORCPT + 99 others); Wed, 12 Feb 2020 03:58:21 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39628 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728426AbgBLI6U (ORCPT ); Wed, 12 Feb 2020 03:58:20 -0500 Received: by mail-wm1-f68.google.com with SMTP id c84so1217948wme.4 for ; Wed, 12 Feb 2020 00:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fkFsc1crcpbc03spvRPFRPP4kpxoZKtSmQVBSZfnJ9k=; b=cQJb69AoyqeV1p6/MS1Jy9Dqe22aZYg1tyXPQO8VceDdhkKoDJlhvnVPokJ2YEC5/C i2/j4RsPnRL7w6Vlw3cvRaJAgZAU/1gLlxHE0oF21UDyHg5QkrzAMcBFMjZcvKqttW+i O/ty/I/hruNwM0XNk3DTVO9RrPuNEfvri3KWUkGNhBlV9UBxcnqq66KgRTmDU2oa5fxa 9sQVP0BGLp+muvLtMCbLdL6c1y2IH/HbBY9P/B2+SgMJEPVeKLR4rVUAiQJMqejerlHV b3gyaF2rLcsmeBIpIqoamWmbuOML8BcPUygYlmea9FtfZ/T4nGZTDXEu8lvY4XXpB1lt UMWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=fkFsc1crcpbc03spvRPFRPP4kpxoZKtSmQVBSZfnJ9k=; b=WRjNwPO37/p7y8iMFGkSNBa9lYlfX/jFzk2T4db+gCr6SmoMWjxc4xPe/2IRMqUbBn DsFwWhbpcCoyRJ0176hGqvvQIdCIzCTaDMM53I26H183u0zfGJ6ttG57vt9pZseJC8ZZ AgWXuZF2+VbDGGXETZQVeY1yC1NVTEAX4rOKKOgWSBdbzr61C9XBoNEhiKerU/ZOl6Zm iCmALAMYpKL8o1DPMqDXYXfkTjyRLzWDLk/cdxyQx7glUVsLk+OoDIxySuMYjxYH0kkv tAMWmWw8T6K6LgXqGG6Rnp7BFGfrGQOt/NRGqO+bCSGKBS9F32lSmWYArS4IPQ1HRxtk /6Vw== X-Gm-Message-State: APjAAAXNONwuX+JG1ebPzZ2V+SP+m8cRiRe/vPnQWxca+RNpahqeUhpl A9BP9NHyrl+56Sq+3riHaSZZb2xf9MwKxw== X-Received: by 2002:a7b:c38c:: with SMTP id s12mr11211734wmj.96.1581497897989; Wed, 12 Feb 2020 00:58:17 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id b11sm8864825wrx.89.2020.02.12.00.58.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Feb 2020 00:58:17 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, arnd@arndb.de Cc: Stefan Asserhall , Cornelia Huck , Greg Kroah-Hartman , Masahiro Yamada , Paolo Bonzini , Will Deacon Subject: [PATCH 05/10] microblaze: Define microblaze barrier Date: Wed, 12 Feb 2020 09:58:02 +0100 Message-Id: X-Mailer: git-send-email 2.25.0 In-Reply-To: References: 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 From: Stefan Asserhall Define microblaze barrier. Signed-off-by: Stefan Asserhall Signed-off-by: Michal Simek --- arch/microblaze/include/asm/Kbuild | 1 - arch/microblaze/include/asm/barrier.h | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 arch/microblaze/include/asm/barrier.h diff --git a/arch/microblaze/include/asm/Kbuild b/arch/microblaze/include/asm/Kbuild index a11407112e9a..abb33619299b 100644 --- a/arch/microblaze/include/asm/Kbuild +++ b/arch/microblaze/include/asm/Kbuild @@ -1,6 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 generated-y += syscall_table.h -generic-y += barrier.h generic-y += bitops.h generic-y += bug.h generic-y += bugs.h diff --git a/arch/microblaze/include/asm/barrier.h b/arch/microblaze/include/asm/barrier.h new file mode 100644 index 000000000000..70b0a017781b --- /dev/null +++ b/arch/microblaze/include/asm/barrier.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2015 - 2020 Xilinx, Inc. All rights reserved. + */ + +#ifndef _ASM_MICROBLAZE_BARRIER_H +#define _ASM_MICROBLAZE_BARRIER_H + +#define mb() __asm__ __volatile__ ("mbar 1" : : : "memory") + +#include + +#endif /* _ASM_MICROBLAZE_BARRIER_H */ -- 2.25.0