* [PATCH trivial 0/2] h8300, riscv: Remove smp_mb__{before,after}_clear_bit()
@ 2018-09-25 12:12 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-kernel
Cc: Andrea Parri, Yoshinori Sato, uclinux-h8-devel, Palmer Dabbelt,
Albert Ou, linux-riscv
A trivial clean-up, removing the (now obsolete) definitions of the two
barriers. (smp_mb__{before,after}_atomic() can serve similar purposes.)
Andrea
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: <uclinux-h8-devel@lists.sourceforge.jp>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: <linux-riscv@lists.infradead.org>
Andrea Parri (2):
riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
h8300/bitops: Remove smp_mb__{before,after}_clear_bit()
arch/h8300/include/asm/bitops.h | 6 ------
arch/riscv/include/asm/bitops.h | 5 -----
2 files changed, 11 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH trivial 0/2] h8300, riscv: Remove smp_mb__{before, after}_clear_bit()
@ 2018-09-25 12:12 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-riscv
A trivial clean-up, removing the (now obsolete) definitions of the two
barriers. (smp_mb__{before,after}_atomic() can serve similar purposes.)
Andrea
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: <uclinux-h8-devel@lists.sourceforge.jp>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: <linux-riscv@lists.infradead.org>
Andrea Parri (2):
riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
h8300/bitops: Remove smp_mb__{before,after}_clear_bit()
arch/h8300/include/asm/bitops.h | 6 ------
arch/riscv/include/asm/bitops.h | 5 -----
2 files changed, 11 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH trivial 0/2] h8300, riscv: Remove smp_mb__{before, after}_clear_bit()
@ 2018-09-25 12:12 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-kernel
Cc: Andrea Parri, uclinux-h8-devel, Albert Ou, Yoshinori Sato,
Palmer Dabbelt, linux-riscv
A trivial clean-up, removing the (now obsolete) definitions of the two
barriers. (smp_mb__{before,after}_atomic() can serve similar purposes.)
Andrea
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: <uclinux-h8-devel@lists.sourceforge.jp>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: <linux-riscv@lists.infradead.org>
Andrea Parri (2):
riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
h8300/bitops: Remove smp_mb__{before,after}_clear_bit()
arch/h8300/include/asm/bitops.h | 6 ------
arch/riscv/include/asm/bitops.h | 5 -----
2 files changed, 11 deletions(-)
--
2.17.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
2018-09-25 12:12 ` Andrea Parri
(?)
@ 2018-09-25 12:12 ` Andrea Parri
-1 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrea Parri, Palmer Dabbelt, Albert Ou, linux-riscv
The barriers are unused; remove their definition.
Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: <linux-riscv@lists.infradead.org>
---
arch/riscv/include/asm/bitops.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
index f30daf26f08f4..01db98dfd0435 100644
--- a/arch/riscv/include/asm/bitops.h
+++ b/arch/riscv/include/asm/bitops.h
@@ -23,11 +23,6 @@
#include <asm/barrier.h>
#include <asm/bitsperlong.h>
-#ifndef smp_mb__before_clear_bit
-#define smp_mb__before_clear_bit() smp_mb()
-#define smp_mb__after_clear_bit() smp_mb()
-#endif /* smp_mb__before_clear_bit */
-
#include <asm-generic/bitops/__ffs.h>
#include <asm-generic/bitops/ffz.h>
#include <asm-generic/bitops/fls.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
@ 2018-09-25 12:12 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-riscv
The barriers are unused; remove their definition.
Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: <linux-riscv@lists.infradead.org>
---
arch/riscv/include/asm/bitops.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
index f30daf26f08f4..01db98dfd0435 100644
--- a/arch/riscv/include/asm/bitops.h
+++ b/arch/riscv/include/asm/bitops.h
@@ -23,11 +23,6 @@
#include <asm/barrier.h>
#include <asm/bitsperlong.h>
-#ifndef smp_mb__before_clear_bit
-#define smp_mb__before_clear_bit() smp_mb()
-#define smp_mb__after_clear_bit() smp_mb()
-#endif /* smp_mb__before_clear_bit */
-
#include <asm-generic/bitops/__ffs.h>
#include <asm-generic/bitops/ffz.h>
#include <asm-generic/bitops/fls.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
@ 2018-09-25 12:12 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrea Parri, linux-riscv, Palmer Dabbelt, Albert Ou
The barriers are unused; remove their definition.
Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: <linux-riscv@lists.infradead.org>
---
arch/riscv/include/asm/bitops.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
index f30daf26f08f4..01db98dfd0435 100644
--- a/arch/riscv/include/asm/bitops.h
+++ b/arch/riscv/include/asm/bitops.h
@@ -23,11 +23,6 @@
#include <asm/barrier.h>
#include <asm/bitsperlong.h>
-#ifndef smp_mb__before_clear_bit
-#define smp_mb__before_clear_bit() smp_mb()
-#define smp_mb__after_clear_bit() smp_mb()
-#endif /* smp_mb__before_clear_bit */
-
#include <asm-generic/bitops/__ffs.h>
#include <asm-generic/bitops/ffz.h>
#include <asm-generic/bitops/fls.h>
--
2.17.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [PATCH 2/2] h8300/bitops: Remove smp_mb__{before,after}_clear_bit()
2018-09-25 12:12 ` Andrea Parri
` (2 preceding siblings ...)
(?)
@ 2018-09-25 12:12 ` Andrea Parri
-1 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 12:12 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrea Parri, Yoshinori Sato, uclinux-h8-devel
The barriers are unused; remove their definition.
Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: <uclinux-h8-devel@lists.sourceforge.jp>
---
arch/h8300/include/asm/bitops.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/h8300/include/asm/bitops.h b/arch/h8300/include/asm/bitops.h
index 647a83bd40b70..7aa16c732aa9f 100644
--- a/arch/h8300/include/asm/bitops.h
+++ b/arch/h8300/include/asm/bitops.h
@@ -51,12 +51,6 @@ static inline void FNAME(int nr, volatile unsigned long *addr) \
} \
}
-/*
- * clear_bit() doesn't provide any barrier for the compiler.
- */
-#define smp_mb__before_clear_bit() barrier()
-#define smp_mb__after_clear_bit() barrier()
-
H8300_GEN_BITOP(set_bit, "bset")
H8300_GEN_BITOP(clear_bit, "bclr")
H8300_GEN_BITOP(change_bit, "bnot")
--
2.17.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
2018-09-25 12:12 ` Andrea Parri
(?)
@ 2018-09-25 17:19 ` Palmer Dabbelt
-1 siblings, 0 replies; 16+ messages in thread
From: Palmer Dabbelt @ 2018-09-25 17:19 UTC (permalink / raw)
To: andrea.parri; +Cc: linux-kernel, andrea.parri, aou, linux-riscv
On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
> The barriers are unused; remove their definition.
>
> Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
> Cc: Palmer Dabbelt <palmer@sifive.com>
> Cc: Albert Ou <aou@eecs.berkeley.edu>
> Cc: <linux-riscv@lists.infradead.org>
> ---
> arch/riscv/include/asm/bitops.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
> index f30daf26f08f4..01db98dfd0435 100644
> --- a/arch/riscv/include/asm/bitops.h
> +++ b/arch/riscv/include/asm/bitops.h
> @@ -23,11 +23,6 @@
> #include <asm/barrier.h>
> #include <asm/bitsperlong.h>
>
> -#ifndef smp_mb__before_clear_bit
> -#define smp_mb__before_clear_bit() smp_mb()
> -#define smp_mb__after_clear_bit() smp_mb()
> -#endif /* smp_mb__before_clear_bit */
> -
> #include <asm-generic/bitops/__ffs.h>
> #include <asm-generic/bitops/ffz.h>
> #include <asm-generic/bitops/fls.h>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Do you want me to take this via the RISC-V tree? I only ended up with patch
1/2 in my inbox, and I probably shouldn't take both.
Thanks!
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/2] riscv/bitops: Remove smp_mb__{before, after}_clear_bit()
@ 2018-09-25 17:19 ` Palmer Dabbelt
0 siblings, 0 replies; 16+ messages in thread
From: Palmer Dabbelt @ 2018-09-25 17:19 UTC (permalink / raw)
To: linux-riscv
On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri at amarulasolutions.com wrote:
> The barriers are unused; remove their definition.
>
> Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
> Cc: Palmer Dabbelt <palmer@sifive.com>
> Cc: Albert Ou <aou@eecs.berkeley.edu>
> Cc: <linux-riscv@lists.infradead.org>
> ---
> arch/riscv/include/asm/bitops.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
> index f30daf26f08f4..01db98dfd0435 100644
> --- a/arch/riscv/include/asm/bitops.h
> +++ b/arch/riscv/include/asm/bitops.h
> @@ -23,11 +23,6 @@
> #include <asm/barrier.h>
> #include <asm/bitsperlong.h>
>
> -#ifndef smp_mb__before_clear_bit
> -#define smp_mb__before_clear_bit() smp_mb()
> -#define smp_mb__after_clear_bit() smp_mb()
> -#endif /* smp_mb__before_clear_bit */
> -
> #include <asm-generic/bitops/__ffs.h>
> #include <asm-generic/bitops/ffz.h>
> #include <asm-generic/bitops/fls.h>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Do you want me to take this via the RISC-V tree? I only ended up with patch
1/2 in my inbox, and I probably shouldn't take both.
Thanks!
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before, after}_clear_bit()
@ 2018-09-25 17:19 ` Palmer Dabbelt
0 siblings, 0 replies; 16+ messages in thread
From: Palmer Dabbelt @ 2018-09-25 17:19 UTC (permalink / raw)
To: andrea.parri; +Cc: andrea.parri, linux-riscv, aou, linux-kernel
On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
> The barriers are unused; remove their definition.
>
> Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
> Cc: Palmer Dabbelt <palmer@sifive.com>
> Cc: Albert Ou <aou@eecs.berkeley.edu>
> Cc: <linux-riscv@lists.infradead.org>
> ---
> arch/riscv/include/asm/bitops.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
> index f30daf26f08f4..01db98dfd0435 100644
> --- a/arch/riscv/include/asm/bitops.h
> +++ b/arch/riscv/include/asm/bitops.h
> @@ -23,11 +23,6 @@
> #include <asm/barrier.h>
> #include <asm/bitsperlong.h>
>
> -#ifndef smp_mb__before_clear_bit
> -#define smp_mb__before_clear_bit() smp_mb()
> -#define smp_mb__after_clear_bit() smp_mb()
> -#endif /* smp_mb__before_clear_bit */
> -
> #include <asm-generic/bitops/__ffs.h>
> #include <asm-generic/bitops/ffz.h>
> #include <asm-generic/bitops/fls.h>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Do you want me to take this via the RISC-V tree? I only ended up with patch
1/2 in my inbox, and I probably shouldn't take both.
Thanks!
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
2018-09-25 17:19 ` Palmer Dabbelt
(?)
@ 2018-09-25 17:49 ` Andrea Parri
-1 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 17:49 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: linux-kernel, aou, linux-riscv
On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote:
> On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
> > The barriers are unused; remove their definition.
> >
> > Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
> > Cc: Palmer Dabbelt <palmer@sifive.com>
> > Cc: Albert Ou <aou@eecs.berkeley.edu>
> > Cc: <linux-riscv@lists.infradead.org>
> > ---
> > arch/riscv/include/asm/bitops.h | 5 -----
> > 1 file changed, 5 deletions(-)
> >
> > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
> > index f30daf26f08f4..01db98dfd0435 100644
> > --- a/arch/riscv/include/asm/bitops.h
> > +++ b/arch/riscv/include/asm/bitops.h
> > @@ -23,11 +23,6 @@
> > #include <asm/barrier.h>
> > #include <asm/bitsperlong.h>
> >
> > -#ifndef smp_mb__before_clear_bit
> > -#define smp_mb__before_clear_bit() smp_mb()
> > -#define smp_mb__after_clear_bit() smp_mb()
> > -#endif /* smp_mb__before_clear_bit */
> > -
> > #include <asm-generic/bitops/__ffs.h>
> > #include <asm-generic/bitops/ffz.h>
> > #include <asm-generic/bitops/fls.h>
>
> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Thank you.
>
> Do you want me to take this via the RISC-V tree? I only ended up with patch
> 1/2 in my inbox, and I probably shouldn't take both.
I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree,
but really no preference from me as long as they get upstreamed. ;-)
Thanks,
Andrea
>
> Thanks!
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
@ 2018-09-25 17:49 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 17:49 UTC (permalink / raw)
To: linux-riscv
On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote:
> On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri at amarulasolutions.com wrote:
> > The barriers are unused; remove their definition.
> >
> > Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
> > Cc: Palmer Dabbelt <palmer@sifive.com>
> > Cc: Albert Ou <aou@eecs.berkeley.edu>
> > Cc: <linux-riscv@lists.infradead.org>
> > ---
> > arch/riscv/include/asm/bitops.h | 5 -----
> > 1 file changed, 5 deletions(-)
> >
> > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
> > index f30daf26f08f4..01db98dfd0435 100644
> > --- a/arch/riscv/include/asm/bitops.h
> > +++ b/arch/riscv/include/asm/bitops.h
> > @@ -23,11 +23,6 @@
> > #include <asm/barrier.h>
> > #include <asm/bitsperlong.h>
> >
> > -#ifndef smp_mb__before_clear_bit
> > -#define smp_mb__before_clear_bit() smp_mb()
> > -#define smp_mb__after_clear_bit() smp_mb()
> > -#endif /* smp_mb__before_clear_bit */
> > -
> > #include <asm-generic/bitops/__ffs.h>
> > #include <asm-generic/bitops/ffz.h>
> > #include <asm-generic/bitops/fls.h>
>
> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Thank you.
>
> Do you want me to take this via the RISC-V tree? I only ended up with patch
> 1/2 in my inbox, and I probably shouldn't take both.
I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree,
but really no preference from me as long as they get upstreamed. ;-)
Thanks,
Andrea
>
> Thanks!
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
@ 2018-09-25 17:49 ` Andrea Parri
0 siblings, 0 replies; 16+ messages in thread
From: Andrea Parri @ 2018-09-25 17:49 UTC (permalink / raw)
To: Palmer Dabbelt; +Cc: linux-riscv, aou, linux-kernel
On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote:
> On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
> > The barriers are unused; remove their definition.
> >
> > Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
> > Cc: Palmer Dabbelt <palmer@sifive.com>
> > Cc: Albert Ou <aou@eecs.berkeley.edu>
> > Cc: <linux-riscv@lists.infradead.org>
> > ---
> > arch/riscv/include/asm/bitops.h | 5 -----
> > 1 file changed, 5 deletions(-)
> >
> > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
> > index f30daf26f08f4..01db98dfd0435 100644
> > --- a/arch/riscv/include/asm/bitops.h
> > +++ b/arch/riscv/include/asm/bitops.h
> > @@ -23,11 +23,6 @@
> > #include <asm/barrier.h>
> > #include <asm/bitsperlong.h>
> >
> > -#ifndef smp_mb__before_clear_bit
> > -#define smp_mb__before_clear_bit() smp_mb()
> > -#define smp_mb__after_clear_bit() smp_mb()
> > -#endif /* smp_mb__before_clear_bit */
> > -
> > #include <asm-generic/bitops/__ffs.h>
> > #include <asm-generic/bitops/ffz.h>
> > #include <asm-generic/bitops/fls.h>
>
> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Thank you.
>
> Do you want me to take this via the RISC-V tree? I only ended up with patch
> 1/2 in my inbox, and I probably shouldn't take both.
I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree,
but really no preference from me as long as they get upstreamed. ;-)
Thanks,
Andrea
>
> Thanks!
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit()
2018-09-25 17:49 ` Andrea Parri
(?)
@ 2018-09-25 17:57 ` Palmer Dabbelt
-1 siblings, 0 replies; 16+ messages in thread
From: Palmer Dabbelt @ 2018-09-25 17:57 UTC (permalink / raw)
To: andrea.parri; +Cc: linux-kernel, aou, linux-riscv
On Tue, 25 Sep 2018 10:49:06 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
> On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote:
>> On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
>> > The barriers are unused; remove their definition.
>> >
>> > Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
>> > Cc: Palmer Dabbelt <palmer@sifive.com>
>> > Cc: Albert Ou <aou@eecs.berkeley.edu>
>> > Cc: <linux-riscv@lists.infradead.org>
>> > ---
>> > arch/riscv/include/asm/bitops.h | 5 -----
>> > 1 file changed, 5 deletions(-)
>> >
>> > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
>> > index f30daf26f08f4..01db98dfd0435 100644
>> > --- a/arch/riscv/include/asm/bitops.h
>> > +++ b/arch/riscv/include/asm/bitops.h
>> > @@ -23,11 +23,6 @@
>> > #include <asm/barrier.h>
>> > #include <asm/bitsperlong.h>
>> >
>> > -#ifndef smp_mb__before_clear_bit
>> > -#define smp_mb__before_clear_bit() smp_mb()
>> > -#define smp_mb__after_clear_bit() smp_mb()
>> > -#endif /* smp_mb__before_clear_bit */
>> > -
>> > #include <asm-generic/bitops/__ffs.h>
>> > #include <asm-generic/bitops/ffz.h>
>> > #include <asm-generic/bitops/fls.h>
>>
>> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
>
> Thank you.
>
>
>>
>> Do you want me to take this via the RISC-V tree? I only ended up with patch
>> 1/2 in my inbox, and I probably shouldn't take both.
>
> I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree,
> but really no preference from me as long as they get upstreamed. ;-)
Works for me. I'll take this one.
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 1/2] riscv/bitops: Remove smp_mb__{before, after}_clear_bit()
@ 2018-09-25 17:57 ` Palmer Dabbelt
0 siblings, 0 replies; 16+ messages in thread
From: Palmer Dabbelt @ 2018-09-25 17:57 UTC (permalink / raw)
To: linux-riscv
On Tue, 25 Sep 2018 10:49:06 PDT (-0700), andrea.parri at amarulasolutions.com wrote:
> On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote:
>> On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri at amarulasolutions.com wrote:
>> > The barriers are unused; remove their definition.
>> >
>> > Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
>> > Cc: Palmer Dabbelt <palmer@sifive.com>
>> > Cc: Albert Ou <aou@eecs.berkeley.edu>
>> > Cc: <linux-riscv@lists.infradead.org>
>> > ---
>> > arch/riscv/include/asm/bitops.h | 5 -----
>> > 1 file changed, 5 deletions(-)
>> >
>> > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
>> > index f30daf26f08f4..01db98dfd0435 100644
>> > --- a/arch/riscv/include/asm/bitops.h
>> > +++ b/arch/riscv/include/asm/bitops.h
>> > @@ -23,11 +23,6 @@
>> > #include <asm/barrier.h>
>> > #include <asm/bitsperlong.h>
>> >
>> > -#ifndef smp_mb__before_clear_bit
>> > -#define smp_mb__before_clear_bit() smp_mb()
>> > -#define smp_mb__after_clear_bit() smp_mb()
>> > -#endif /* smp_mb__before_clear_bit */
>> > -
>> > #include <asm-generic/bitops/__ffs.h>
>> > #include <asm-generic/bitops/ffz.h>
>> > #include <asm-generic/bitops/fls.h>
>>
>> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
>
> Thank you.
>
>
>>
>> Do you want me to take this via the RISC-V tree? I only ended up with patch
>> 1/2 in my inbox, and I probably shouldn't take both.
>
> I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree,
> but really no preference from me as long as they get upstreamed. ;-)
Works for me. I'll take this one.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 1/2] riscv/bitops: Remove smp_mb__{before, after}_clear_bit()
@ 2018-09-25 17:57 ` Palmer Dabbelt
0 siblings, 0 replies; 16+ messages in thread
From: Palmer Dabbelt @ 2018-09-25 17:57 UTC (permalink / raw)
To: andrea.parri; +Cc: linux-riscv, aou, linux-kernel
On Tue, 25 Sep 2018 10:49:06 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
> On Tue, Sep 25, 2018 at 10:19:24AM -0700, Palmer Dabbelt wrote:
>> On Tue, 25 Sep 2018 05:12:24 PDT (-0700), andrea.parri@amarulasolutions.com wrote:
>> > The barriers are unused; remove their definition.
>> >
>> > Signed-off-by: Andrea Parri <andrea.parri@amarulasolutions.com>
>> > Cc: Palmer Dabbelt <palmer@sifive.com>
>> > Cc: Albert Ou <aou@eecs.berkeley.edu>
>> > Cc: <linux-riscv@lists.infradead.org>
>> > ---
>> > arch/riscv/include/asm/bitops.h | 5 -----
>> > 1 file changed, 5 deletions(-)
>> >
>> > diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
>> > index f30daf26f08f4..01db98dfd0435 100644
>> > --- a/arch/riscv/include/asm/bitops.h
>> > +++ b/arch/riscv/include/asm/bitops.h
>> > @@ -23,11 +23,6 @@
>> > #include <asm/barrier.h>
>> > #include <asm/bitsperlong.h>
>> >
>> > -#ifndef smp_mb__before_clear_bit
>> > -#define smp_mb__before_clear_bit() smp_mb()
>> > -#define smp_mb__after_clear_bit() smp_mb()
>> > -#endif /* smp_mb__before_clear_bit */
>> > -
>> > #include <asm-generic/bitops/__ffs.h>
>> > #include <asm-generic/bitops/ffz.h>
>> > #include <asm-generic/bitops/fls.h>
>>
>> Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
>
> Thank you.
>
>
>>
>> Do you want me to take this via the RISC-V tree? I only ended up with patch
>> 1/2 in my inbox, and I probably shouldn't take both.
>
> I expected this to go via the RISC-V tree and 2/2 via the H8/300 tree,
> but really no preference from me as long as they get upstreamed. ;-)
Works for me. I'll take this one.
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2018-09-25 18:08 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-25 12:12 [PATCH trivial 0/2] h8300, riscv: Remove smp_mb__{before,after}_clear_bit() Andrea Parri
2018-09-25 12:12 ` [PATCH trivial 0/2] h8300, riscv: Remove smp_mb__{before, after}_clear_bit() Andrea Parri
2018-09-25 12:12 ` Andrea Parri
2018-09-25 12:12 ` [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit() Andrea Parri
2018-09-25 12:12 ` Andrea Parri
2018-09-25 12:12 ` Andrea Parri
2018-09-25 17:19 ` Palmer Dabbelt
2018-09-25 17:19 ` [PATCH 1/2] riscv/bitops: Remove smp_mb__{before, after}_clear_bit() Palmer Dabbelt
2018-09-25 17:19 ` Palmer Dabbelt
2018-09-25 17:49 ` [PATCH 1/2] riscv/bitops: Remove smp_mb__{before,after}_clear_bit() Andrea Parri
2018-09-25 17:49 ` Andrea Parri
2018-09-25 17:49 ` Andrea Parri
2018-09-25 17:57 ` Palmer Dabbelt
2018-09-25 17:57 ` [PATCH 1/2] riscv/bitops: Remove smp_mb__{before, after}_clear_bit() Palmer Dabbelt
2018-09-25 17:57 ` Palmer Dabbelt
2018-09-25 12:12 ` [PATCH 2/2] h8300/bitops: Remove smp_mb__{before,after}_clear_bit() Andrea Parri
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.