zynq-gem: Flush cache before handing RX packet to receive handler
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Hmm good question. I went with flush because that's what's done in the transmit function:
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size = roundup(len, ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size = roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN); flush_dcache_range(addr, addr + size);barrier();
But since we actually want the uncached data invalidation seems logical. I have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
Regards,
Stefan
Quoted 44 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:13
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerQuoted 17 lines · Stefan Theil
The cache was only flushed before *transmitting* packets, but not when receiving them, leading to an issue where new packets were handed to the receive handler with old contents in cache. This only happens when a lot of packets are received without sending packages every now and then.
Signed-off-by Stefan Theil <[email protected]>--- drivers/net/zynq_gem.c | 3 +++ 1 file changed, 3 insertions(+)drivers/net/zynq_gem.c index renamed from drivers/net/zynq_gem.c +0
-0
9bd79b198a..5825b6dd99100644drivers/net/zynq_gem.c static int zynq_gem_recv(struct udevice *dev, int · line 626
Quoted 6 lines
drivers/net/zynq_gem.c +2
-0@@ -621,6 +621,9 @@ static int zynq_gem_recv(struct udevice *dev, int flags, uchar **packetp) *packetp = (uchar *)(uintptr_t )addr; +flush_dcache_range (addr, addr +roundup (PKTSIZE_ALIGN , +ARCH_DMA_MINALIGN ));Shouldn't it be
invalidate_dcache_range()?drivers/net/zynq_gem.c static int zynq_gem_recv(struct udevice *dev, int
Quoted 5 lines
drivers/net/zynq_gem.c +2
-0+barrier (); +return frame_len; }Regards,
Bin
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Hi Stefan,
Quoted 8 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the transmit function:
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup(len, ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);
Quoted 7 lines
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();But since we actually want the uncached data invalidation seems logical. I have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
Bin
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Quoted 17 lines · Bin Meng
Hi Stefan,
Quoted 14 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the transmit function:
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup(len, ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();
Quoted 4 lines
Quoted 1 line
But since we actually want the uncached data invalidation seems logical. I have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
+1 yes. Please retest with invalidate.
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181213/95a5cc71/attachment.sig>
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
In reply to Bin MengQuoted 34 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:37
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 2 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the
transmit function:
Quoted 4 lines
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup(len, ARCH_DMA_MINALIGN); flush_dcache_range(addr,addr
Quoted 8 lines
+ size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();But since we actually want the uncached data invalidation seems logical. I
have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
Quoted 5 lines
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
Bin
Then why are all receive buffers flushed before sending a packet? In any case, I'll try it with invalidate and submit an updated version.
Regards,
Stefan
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Quoted 34 lines · Stefan Theil
Quoted 34 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:37
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 2 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the
transmit function:
Quoted 4 lines
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup(len, ARCH_DMA_MINALIGN); flush_dcache_range(addr,addr
Quoted 8 lines
+ size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();But since we actually want the uncached data invalidation seems logical. I
have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
Quoted 7 lines
Quoted 5 lines
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
BinThen why are all receive buffers flushed before sending a packet? In any case, I'll try it with invalidate and submit an updated version.
When you creating packet, cpu is used and caches are filled with data which you are asking by DMA to send. That's why you need to flush them to DDR for dma to take it. If you don't do that DMA can work with incorrect data.
On RX path if cpu touches that memory space before DMA receive data to the memory, cpu can work with incorrect data.
That's why you need to invalidate that range to ensure that data which you will read is that one got from DMA.
It is kind of interesting that we didn't observe this issue.
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181213/ac981962/attachment.sig>
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Quoted 51 lines
-----Ursprüngliche Nachricht-----
Von: Michal Simek [mailto:monstr at monstr.eu]
Gesendet: Donnerstag, 13. Dezember 2018 14:48
An: Stefan Theil; Bin Meng
Cc: U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerQuoted 42 lines · Stefan Theil
Quoted 41 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:37
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 3 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the
transmit function:
Quoted 4 lines
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup(len, ARCH_DMA_MINALIGN); flush_dcache_range(addr,addr
Quoted 9 lines
+ size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();But since we actually want the uncached data invalidation seems logical. I
have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
Bin
Quoted 6 lines
Quoted 1 line
Then why are all receive buffers flushed before sending a packet? In any
case, I'll try it with invalidate and submit an updated version.
When you creating packet, cpu is used and caches are filled with data which you are asking by DMA to send. That's why you need to flush them to DDR for dma to take it. If you don't do that DMA can work with incorrect data.
I know, but you don't create *receive* packets when you're sending a packet, are you? Why would you need to flush those before sending a packet? That's what I'm wondering about.
Quoted 6 lines
On RX path if cpu touches that memory space before DMA receive data to the memory, cpu can work with incorrect data.
That's why you need to invalidate that range to ensure that data which you will read is that one got from DMA.It is kind of interesting that we didn't observe this issue.
Probably because most people don't receive enough packets between sending packets, so the receive buffers are flushed often enough.
Quoted 10 lines
Thanks,
Michal--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Hi Stefan,
Quoted 52 lines · Stefan Theil
Quoted 52 lines
-----Ursprüngliche Nachricht-----
Von: Michal Simek [mailto:monstr at monstr.eu]
Gesendet: Donnerstag, 13. Dezember 2018 14:48
An: Stefan Theil; Bin Meng
Cc: U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerQuoted 42 lines · Stefan Theil
Quoted 41 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:37
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 3 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the
transmit function:
Quoted 4 lines
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup(len, ARCH_DMA_MINALIGN); flush_dcache_range(addr,addr
Quoted 9 lines
+ size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();But since we actually want the uncached data invalidation seems logical. I
have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
Bin
Quoted 9 lines
Quoted 6 lines
Quoted 1 line
Then why are all receive buffers flushed before sending a packet? In any
case, I'll try it with invalidate and submit an updated version.
When you creating packet, cpu is used and caches are filled with data which you are asking by DMA to send. That's why you need to flush them to DDR for dma to take it. If you don't do that DMA can work with incorrect data.
I know, but you don't create *receive* packets when you're sending a packet, are you? Why would you need to flush those before sending a packet? That's what I'm wondering about.
Why did you mention *receive* packets and sending a packet? The receive packets and send packets are two different buffers.
Quoted 8 lines
Quoted 6 lines
On RX path if cpu touches that memory space before DMA receive data to the memory, cpu can work with incorrect data.
That's why you need to invalidate that range to ensure that data which you will read is that one got from DMA.It is kind of interesting that we didn't observe this issue.
Probably because most people don't receive enough packets between sending packets, so the receive buffers are flushed often enough.
Regards,
Bin
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
In reply to a message not in the archiveQuoted 78 lines · Stefan Theil
Quoted 78 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:59
An: Stefan Theil
Cc: Michal Simek; U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 32 lines · Stefan Theil
Quoted 32 lines
-----Ursprüngliche Nachricht-----
Von: Michal Simek [mailto:monstr at monstr.eu]
Gesendet: Donnerstag, 13. Dezember 2018 14:48
An: Stefan Theil; Bin Meng
Cc: U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerQuoted 22 lines · Stefan Theil
Quoted 22 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:37
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 3 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the
transmit function:
Quoted 4 lines
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1); size =roundup(len, ARCH_DMA_MINALIGN); flush_dcache_range(addr,Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
addr
Quoted 5 lines
+ size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1); size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr,
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 4 lines
addr + size);
barrier();But since we actually want the uncached data invalidation seems logical. I
have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
BinQuoted 7 lines
Quoted 7 lines
Quoted 2 lines
Then why are all receive buffers flushed before sending a packet? In any
case, I'll try it with invalidate and submit an updated version.
When you creating packet, cpu is used and caches are filled with data which you are asking by DMA to send. That's why you need to flush them to DDR for dma to take it. If you don't do that DMA can work
with incorrect data.
Quoted 2 lines
I know, but you don't create *receive* packets when you're sending a
Quoted 9 lines
Quoted 6 lines
packet, are you? Why would you need to flush those before sending a packet? That's what I'm wondering about.
Quoted 1 line
Why did you mention *receive* packets and sending a packet? The receive packets and send packets are two different buffers.
Take a look at "
zynq_gem_send" in "drivers/net/zynq_gem.c" then, where it says:
I just took a look at the driver, and (see below)
Quoted 8 lines
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();I'm fairly certain that "
priv->rxbuffers" has nothing to do with sending a packet.
I strongly suspect the above codes are some leftovers of copy & paste. Could you please remove these codes and have a test?
Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 7 lines
On RX path if cpu touches that memory space before DMA receive data to the memory, cpu can work with incorrect data.
That's why you need to invalidate that range to ensure that data which you will read is that one got from DMA.It is kind of interesting that we didn't observe this issue.
Probably because most people don't receive enough packets between
sending packets, so the receive buffers are flushed often enough.
Regards,
Bin
PATCH 1/1 zynq-gem: Flush cache before handing RX packet to receive handler
Quoted 98 lines · Bin Meng
Quoted 78 lines · Stefan Theil
Quoted 78 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:59
An: Stefan Theil
Cc: Michal Simek; U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 32 lines · Stefan Theil
Quoted 32 lines
-----Ursprüngliche Nachricht-----
Von: Michal Simek [mailto:monstr at monstr.eu]
Gesendet: Donnerstag, 13. Dezember 2018 14:48
An: Stefan Theil; Bin Meng
Cc: U-Boot Mailing List
Betreff: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerQuoted 22 lines · Stefan Theil
Quoted 22 lines
-----Ursprüngliche Nachricht-----
Von: Bin Meng [mailto:bmeng.cn at gmail.com]
Gesendet: Donnerstag, 13. Dezember 2018 14:37
An: Stefan Theil
Cc: U-Boot Mailing List
Betreff: Re: Re: [U-Boot] [PATCH] zynq-gem: Flush cache before handing RX packet to receive handlerHi Stefan,
Quoted 3 lines · Stefan Theil
Hmm good question. I went with flush because that's what's done in the
transmit function:
Quoted 4 lines
addr = (ulong) ptr;
addr &= ~(ARCH_DMA_MINALIGN - 1); size =roundup(len, ARCH_DMA_MINALIGN); flush_dcache_range(addr,Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
addr
Quoted 5 lines
+ size);
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1); size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr,
Quoted 14 lines
Quoted 14 lines
Quoted 14 lines
Quoted 13 lines
Quoted 4 lines
addr + size);
barrier();But since we actually want the uncached data invalidation seems logical. I
have to admit though, I don't have much experience with caches. This patch completely fixed my problem... Maybe somebody with a bit more expertise can add their opinion?
It should be 'invalidate' primitive when it comes to the RX path. For TX path, it should be 'flush'.
Regards,
BinQuoted 7 lines
Quoted 7 lines
Quoted 2 lines
Then why are all receive buffers flushed before sending a packet? In
anySYS_CACHE_SHIFT_6case, I'll try it with invalidate and submit an updated version.
When you creating packet, cpu is used and caches are filled with data which you are asking by DMA to send. That's why you need to flush them to DDR for dma to take it. If you don't do that DMA can work
with incorrect data.
Quoted 2 lines
I know, but you don't create *receive* packets when you're sending a
Quoted 9 lines
Quoted 6 lines
packet, are you? Why would you need to flush those before sending a packet? That's what I'm wondering about.
Quoted 1 line
Why did you mention *receive* packets and sending a packet? The receive packets and send packets are two different buffers.
Take a look at "
zynq_gem_send" in "drivers/net/zynq_gem.c" then, where it says:I just took a look at the driver, and (see below)
Quoted 6 lines
addr = (ulong)priv->rxbuffers;
addr &= ~(ARCH_DMA_MINALIGN - 1);
size =roundup((RX_BUF * PKTSIZE_ALIGN), ARCH_DMA_MINALIGN);flush_dcache_range(addr, addr + size);barrier();
Quoted 5 lines
Quoted 2 lines
I'm fairly certain that "
priv->rxbuffers" has nothing to do with sending a packet.I strongly suspect the above codes are some leftovers of copy & paste. Could you please remove these codes and have a test?
I think it will be good to compare this code with macb driver which is also in the tree.
Not sure what other drivers are using but zynq_gem is using non cached area for BDs and cached area for data.
Also in probe there should be flush of priv->rxbuffers to make sure that it is initialized properly.
(memset(priv->rxbuffers, 0, RX_BUF * PKTSIZE_ALIGN); - this should be useless)
And then invalidation of data cache after packet is received to make sure that before cpu reads the packet cache is empty.
Thanks,
Michal
Signature · 14 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181213/bd6ec6cd/attachment.sig>