Posts
109
Following
28
Followers
25
A maintainer of Linux FireWire subsystem and ALSA firewire stack.
http://ieee1394.docs.kernel.org/
https://github.com/takaswie/linux-firewire-dkms/

Takashi Sakamoto (坂本 貴史)

I sent:
[GIT PULL] firewire fixes for v6.19-rc8:
https://lore.kernel.org/lkml/20260130225427.GA88593@workstation.local/T/#u

firewire fixes for 6.19-rc8

Fix a race condition introduced in v6.18. Andreas Persson discovered this
issue while working with Focusrite Saffire Pro 40 (TCD33070). The fw_card
instance maintains a linked list of pending transactions, which must be
protected against concurrent access. However, a commit b5725cfa4120
("firewire: core: use spin lock specific to timer for split transaction")
unintentionally allowed concurrent accesses to this list. Fix this by
adjusting the relevant critical sections to properly serialize access.
0
0
0

Takashi Sakamoto (坂本 貴史)

I made an apparent regression, sigh...

[PATCH] firewire: core: fix race condition against transaction list
https://lore.kernel.org/lkml/20260127223413.22265-1-o-takashi@sakamocchi.jp/
0
0
0

Takashi Sakamoto (坂本 貴史)

I posted:

0
0
1

Takashi Sakamoto (坂本 貴史)

Hm:

An end to high memory?
https://lwn.net/Articles/813201/
0
0
0

Takashi Sakamoto (坂本 貴史)

0
0
0

Takashi Sakamoto (坂本 貴史)

I just tried, for now:
[PATCH] scatterlist: remove ambiguous comment for public fields count of mapping iterator
https://lore.kernel.org/lkml/20251214032533.702368-1-o-takashi@sakamocchi.jp/T/#u
0
0
0

Takashi Sakamoto (坂本 貴史)

0
0
0

Takashi Sakamoto (坂本 貴史)

A new user appeared for a pair of dma_alloc_pages() and dma_free_pages()...

[PATCH v12 6/9] tee: add tee_shm_alloc_dma_mem()
https://lore.kernel.org/op-tee/20250911135007.1275833-7-jens.wiklander@linaro.org/
0
0
0

Takashi Sakamoto (坂本 貴史)

I'm trying using the following utilities to eliminate the usage of page_private() from 1394 OHCI and core:

* struct scatterlist
* struct sg_table
* dma_alloc_noncontiguous()
* dma_vmap_noncontiguous()
* dma_mmap_noncontiguous()

I've never tested yet the integration.
0
0
0

Takashi Sakamoto (坂本 貴史)

when we can assume either PartialEq or Eq.
0
0
0

Takashi Sakamoto (坂本 貴史)

ptr_0 == ptr_1

equals to

ptr_0->node_id == ptr_1->node_id &&
ptr_0->tlabel == ptr_1->tlabel

but

ptr_0->node_id == ptr_1->node_id &&
ptr_0->tlabel == ptr_1->tlabel

does not equals to

ptr_0 == ptr_1
0
0
0

Takashi Sakamoto (坂本 貴史)

Edited 4 months ago
acknowledge code = 0x10 to any type of transaction is out of specification. MOTU Audio Express.
0
0
0

Takashi Sakamoto (坂本 貴史)

I sent:

[GIT PULL] firewire updates for v6.18 kernel
https://lore.kernel.org/lkml/20250929134642.GA748211@workstation.local/

That was some tough code refactoring, but continued...
0
0
0

Takashi Sakamoto (坂本 貴史)

[linux-next:master 11811/12740] drivers/firewire/core-transaction.c:1255: undefined reference to `__aeabi_uldivmod'
https://lore.kernel.org/oe-kbuild-all/202509270428.FZaO2PPq-lkp@intel.com/

Oh...
1
0
0

Takashi Sakamoto (坂本 貴史)

Ah, indeed. IntMask, synchronize_irq(), then losing contender and bus reset.
0
0
0

Takashi Sakamoto (坂本 貴史)

Edited 4 months ago
At depth-first search, update of color value at first works well to detect parent node in the list of port, as long as the color value of fw_node is different from the one of fw_card. However, we have no guarantee...
0
0
0

Takashi Sakamoto (坂本 貴史)

Hm. The way to use local stack is a bit peaky...
0
0
0
Show older