Post

Replies

Boosts

Views

Activity

Comment on MacOS(Apple Silicon) IOKit driver for FPGA DMA transmission, kernel panic.
Hi Kevin, filed bug number is 21888307. your question answer: Yes, address comes from my driver by API. And at the beginning, I didn't know that the address allocated through the API were always >32 bit, so when I received an address >32 bit, I didn't directly return, but continued to use it, resulting in a kernel panic. I trying to map 20 KB memory, I have already tried 1 Byte or 4 KB, still get 64-bit address. And maximum transfer data size would set to 8 MB.
Topic: App & System Services SubTopic: Drivers Tags:
4d
Comment on MacOS(Apple Silicon) IOKit driver for FPGA DMA transmission, kernel panic.
Hi Kevin, filed bug number is 21888307, I provide partial code on bug. your question answer: Yes, address comes from my driver by API. And at the beginning, I didn't know that the address allocated through the API were always >32 bit, so when I received an address >32 bit, I didn't directly return, but continued to use it, resulting in a panic. I trying to map 20 KB memory, I have already tried 1 Byte or 4 KB, still get 64-bit address. And maximum D-M-A data size would set to 8 MB.
Topic: App & System Services SubTopic: Drivers Tags:
4d
Comment on MacOS(Apple Silicon) IOKit driver for FPGA DMA transmission, kernel panic.
Hi Kevin, filed bug number is 21888307, I provide partial code on bug. your question answer: Yes, address comes from my driver by gen64IOVM. And at the beginning, I didn't know that the address allocated through the API were always >32 bit, so when I received an address >32 bit, I didn't directly return, but continued to use it, resulting in a panic. I trying to map 20 KB memory, and maximum DMA data size would set to 8 MB. I have already tried 1 Byte or 4 KB, still get 64-bit address.
Topic: App & System Services SubTopic: Drivers Tags:
4d
Comment on MacOS(Apple Silicon) IOKit driver for FPGA DMA transmission, kernel panic.
Hi Kevin, bug number is FB21888307, I provide partial code on bug. your question answer: Yes, address comes from my driver by gen64IOVMSegments(). And at the beginning, I didn't know that the addresse allocated through the API were always >32 bit, so when I received an address >32 bit, I didn't directly return, but continued to use it, resulting in a panic. I trying to map 20KB memory, and maximum DMA data size would set to 8MB. I have already tried 1B or 4KB, still get 64-bit iovm addr.
Topic: App & System Services SubTopic: Drivers Tags:
4d
Comment on MacOS(Apple Silicon) IOKit driver for FPGA DMA transmission, kernel panic.
Hi Kevin, bug number is FB21888307, I provide partial code on bug. your question answer: Yes, address comes from my driver by gen64IOVMSegments(). And at the beginning, I didn't know that the addresse allocated through the API were always >32 bit, so when I received an address >32 bit, I didn't directly return, but continued to use it, resulting in a panic. I trying to map 20KB memory, and maximum DMA data size would set to 8MB. I have already tried 1B or 4KB, still get 64-bit iovm addr.
Topic: App & System Services SubTopic: Drivers Tags:
4d