亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 3590 | 回復: 10
打印 上一主題 下一主題

machine check [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2010-06-14 11:49 |只看該作者 |倒序瀏覽
兩個不同的外部設(shè)備同一時間對同一片內(nèi)存進入DMA操作會不會導致kernel machine check.

論壇徽章:
0
2 [報告]
發(fā)表于 2010-06-14 23:20 |只看該作者
Sorry. I cannot type Chinese on this machine.

In theory, that situation (two devices write to the same memory at the same time) will never happen. For example, PCI bus supports bus mater mode, which is capable to DMA. In that mode, the bus is locked for that device only. So other device cannot do DMA at the same time.

PCI express is a little bit different. But I think the PCIE standard or the MCH (NORTH BRIDGE) will take care of it.

論壇徽章:
0
3 [報告]
發(fā)表于 2010-06-15 10:50 |只看該作者
謝謝你的回復。
我們用的是PCIE bus.
我們經(jīng)過測試發(fā)現(xiàn),兩個設(shè)備同一時間DMA讀同一片內(nèi)存時發(fā)生machine check.
難道不允許這樣?

論壇徽章:
0
4 [報告]
發(fā)表于 2010-06-15 11:04 |只看該作者
謝謝你的回復。
我們用的是PCIE bus.
我們經(jīng)過測試發(fā)現(xiàn),兩個設(shè)備同一時間DMA讀同一片內(nèi)存時發(fā)生machine  ...
hb12112 發(fā)表于 2010-06-15 10:50



    應該是有限制吧.

論壇徽章:
0
5 [報告]
發(fā)表于 2010-06-15 14:06 |只看該作者
寫是為了保證數(shù)據(jù)一致性的話,讀為什么要限制呢?是內(nèi)核里限制還是由硬件保證?

論壇徽章:
0
6 [報告]
發(fā)表于 2010-06-15 23:24 |只看該作者
It looks like a hardware mechanism. See following links:

http://en.wikipedia.org/wiki/Machine_Check_Exception
http://en.wikipedia.org/wiki/Machine_check_architecture

You can also try some tools to get the details about the machine check.

論壇徽章:
0
7 [報告]
發(fā)表于 2010-06-16 09:00 |只看該作者
謝謝你的回復。
我們用的是PCIE bus.
我們經(jīng)過測試發(fā)現(xiàn),兩個設(shè)備同一時間DMA讀同一片內(nèi)存時發(fā)生machine  ...
hb12112 發(fā)表于 2010-06-15 10:50



    兩個設(shè)備同時DMA同一片內(nèi)存當然是bug.

    有點好奇,你的兩個設(shè)備是在不同的root complex下嗎?

    另外你的機器enable IOMMU了嗎?

論壇徽章:
0
8 [報告]
發(fā)表于 2010-06-17 13:59 |只看該作者
由什么來保證兩個設(shè)備不在同一時間DMA?
兩個設(shè)備同時DMA讀同一片內(nèi)存有什么問題?
iommu是關(guān)閉的.

論壇徽章:
0
9 [報告]
發(fā)表于 2010-06-17 23:36 |只看該作者
Good question.

I guess the PCIE bridge or NB (MCH) is in charge of controlling DMA. But I don't know why two DMA reads from two device cannot happen at the same time.

For PCI bus, it seems reasonable, because it is parallel bus and when one device control the bus, other device cannot have the same degree of control.
But PCI Express is serial bus so it may allow two device to do DMA read at the same time in theory?

論壇徽章:
2
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:53:17
10 [報告]
發(fā)表于 2010-06-18 17:35 |只看該作者
>I guess the PCIE bridge or NB (

bridge 應該是root complex
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP