{"push_id":2167678042,"size":14,"distinct_size":14,"ref":"refs/heads/ntb","head":"e533f8fb61ba5f13e7c46eb877f776731762e240","before":"380d6a16f8bab25fc85323d538d7082357ee642b","commits":[{"sha":"d9d77e35168b3d7cb5ae9071a0d86426b887f3c2","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: Set dma mask and dma coherent mask to NTB devices\n\nThe dma_mask and dma_coherent_mask fields of the NTB struct device\nweren't initialized in hardware drivers. In fact it should be done\ninstead of PCIe interface usage, since NTB clients are supposed to\nuse NTB API and left unaware of real hardware implementation.\nIn addition to that ntb_device_register() method shouldn't clear\nthe passed ntb_dev structure, since it dma_mask is initialized\nby hardware drivers.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/d9d77e35168b3d7cb5ae9071a0d86426b887f3c2"},{"sha":"357c42586e6d92969a7308d1f36dbd7ac04d3ad6","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: Fix UB/bug in ntb_mw_get_align()\n\nSimple (1 << pidx) operation causes undefined behaviour when\npidx >= 32. It must be casted to u64 to match the actual return\nvalue of ntb_link_is_up() method, so to have all the possible\npeer indexes covered and to get rid of undefined behaviour.\nAdditionally there are special macros in \"linux/bitops.h\" to perform\nthe bit-set-shift operations, so it's recommended to have them used\nfor proper bit setting.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/357c42586e6d92969a7308d1f36dbd7ac04d3ad6"},{"sha":"a69cfe677420d4f2cb4816826f031afc8ec62088","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_pp: Add full multi-port NTB API support\n\nNTB API has been updated to support multi-port devices like IDT\n89HPESx series or Microsemi Switchtec. Message registers\nfunctionality has also been added to new API. In order to keep\nthe new hardware and corresponding capabilities well tested, NTB\npingpong driver is accordingly altered.\n\nChangelog v1:\n- Add Multi-port API support\n- Ping-pong now works like cyclic ping around all the peers\n\nChangelog v2:\n- Remove driver Author/Description/Version macros\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/a69cfe677420d4f2cb4816826f031afc8ec62088"},{"sha":"393be69f258cfe3ac49cc463f43dc9dba36edfe6","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_tool: Add full multi-port NTB API support\n\nNTB API has been updated to support multi-port devices like IDT\n89HPESx series or Microsemi Switchtec. Message registers\nfunctionality has also been added to new API. In order to keep\nthe new hardware and corresponding capabilities well tested, NTB\ntool driver is accordingly altered.\n\nChangelog v1:\n- Alter interface in compliance with multi-port API\n- Move Message/MW/Port/Link settings to a specific directory\n\nChangelog v2:\n- Remove driver Author/Description/License macros\n- Return error if ntb_mw_get_align called while link is down\n- Add db_valid_mask DebugFS file\n- Add msg_inbits/msg_outbits DebugFS files\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/393be69f258cfe3ac49cc463f43dc9dba36edfe6"},{"sha":"de40300bbda86b4689cc6e6f248760f9db5bcaa2","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_perf: Add full multi-port NTB API support\n\nNTB API has been updated to support multi-port devices like IDT\n89HPESx series or Microsemi Switchtec. Message registers\nfunctionality has also been added to new API. In order to keep\nthe new hardware and corresponding capabilities well tested, NTB\nperformance driver is accordingly altered.\n\nChangelog v1:\n- Alter interface in compliance with multi-port API\n- Create Scratchpads and Message compliant NTB link init process\n- Simplify memcpy and DMA-based tests process\n- Limit DebugFS access methods to prevent the driver failure\n\nChangelog v2:\n- Remove driver Author/Description/License macros\n- Replace magic numbers with macros\n- Fix global index calc error for devices with highest port index\n- Fix invalid scratchpad selection in send_msg algorithm\n- Fix bytes order translation in message recv method\n- Use local global index to select an inbound MW\n- Add commands send/recv/exec debug prints\n- Call ntb_mw_get_align when link is supposed to be up\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/de40300bbda86b4689cc6e6f248760f9db5bcaa2"},{"sha":"d1cbb04fbb836577e4a1d934bdb368e65fd80fc3","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Safely use paths with whitespace\n\nIf some of variables like LOC/REM or LOCAL_*/REMOTE_* got\nwhitespaces, the script may fail with syntax error.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/d1cbb04fbb836577e4a1d934bdb368e65fd80fc3"},{"sha":"e6d0ec6e0d6b0ad3a6009be6110c0fc32df87113","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Add ntb_tool port tests\n\nMulti-port interface is now available in ntb_tool driver. According\nto the new NTB API, there might be more than two devices connected over\nNTB. It means each device can have multiple freely enumerated ports.\nEach port got index assigned by NTB hardware driver. This test is\nperformed to determine the local and peer ports as well as their indexes.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/e6d0ec6e0d6b0ad3a6009be6110c0fc32df87113"},{"sha":"880cbc8dbbc2cfa70df0cab1c8f7d3a58e88a248","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Update ntb_tool link tests\n\nLink Up and Down methods are used to change NTB link settings on\nlocal side only for multi-port devices. Link is considered up\nonly if both sides local and peer set it up. Intel/AMD hardware\nacts a bit different by assigning the Primary and Secondary roles,\nso Primary device only is able to change the link state. Such behaviour\nshould be reflected in the test code.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/880cbc8dbbc2cfa70df0cab1c8f7d3a58e88a248"},{"sha":"d8da61e9696ee4e351aae6682ffeaee147a2851e","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Update ntb_tool DB tests\n\nDB interface of ntb_tool driver hasn't been changed much, but\ndb_valid_mask DebugFS file has still been added. In this case\nit's much better to test all valid DB bits instead of using\nthe predefined mask, which may be incorrect in general.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/d8da61e9696ee4e351aae6682ffeaee147a2851e"},{"sha":"fbe1ec5c1b260f3fd307657801c32e40a41f1917","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Update ntb_tool Scratchpad tests\n\nScratchpad NTB API has changed so has the ntb_tool driver. Outbound\nScratchpad DebugFS files have been moved to peer specific directories.\nEach scratchpad is now available via separate file. The test code\nhas been accordingly altered.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/fbe1ec5c1b260f3fd307657801c32e40a41f1917"},{"sha":"fd5ef7736071c581fd08e01122d1a18bc867a054","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Add ntb_tool Message tests\n\nMessages NTB API is now available. ntb_tool driver has been altered\nto perform messages send and receive operation. The test of messages\nread/write to/from peer device has been added to the script.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/fd5ef7736071c581fd08e01122d1a18bc867a054"},{"sha":"9c96b38de2df0242a601063bdeb27d5362bc0a69","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Update ntb_tool MW tests\n\nThere are devices (like IDT PCIe switches), which outbound MWs xlat address\nis setup on peer side. In this case local side is supposed to allocate\na memory buffer and somehow deliver the xlat DMA address to peer so one\ncould set the outbound MW up. The MW test is altered so to support both\nprevious Intel/AMD and new IDT-like devices.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/9c96b38de2df0242a601063bdeb27d5362bc0a69"},{"sha":"2065e254d24d3561bdc46d6040eacd86d685e3f0","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_test: Update ntb_perf tests\n\nntb_perf driver has been also updated so to have the multi-port\ninterface support. User now must specify what peer port is going\nto be used to perform the test.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/2065e254d24d3561bdc46d6040eacd86d685e3f0"},{"sha":"e533f8fb61ba5f13e7c46eb877f776731762e240","author":{"name":"Serge Semin","email":"c439aa7170844ce4236c100d31c5dcc1b28b95cf@gmail.com"},"message":"NTB: ntb_hw_idt: Set NTB_TOPO_SWITCH topology\n\nSince Switchtec patch there has been a new topology added to\nthe NTB API. It's called NTB_TOPO_SWITCH and dedicated for\nPCIe switch chips. Even though topo field isn't used within the\nIDT driver much, lets set it for the sake of unification.\n\nSigned-off-by: Serge Semin <fancer.lancer@gmail.com>","distinct":true,"url":"https://api.github.com/repos/fancer/ntb/commits/e533f8fb61ba5f13e7c46eb877f776731762e240"}]}
{"actor":{"display_login":"fancer"}}