diff options
author | Sheng Yang <[email protected]> | 2015-12-28 11:57:39 -0800 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2016-01-07 13:57:51 -0800 |
commit | 81ee28de860095cc0c063b92eea53cb97771f796 (patch) | |
tree | 4c18e0b5c95cf11405c886abd91af11f07318278 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 373a4cd7378220d3c5a69fd369b1d78fee3207b2 (diff) |
target/user: Allow user to set block size before enabling device
The capability of setting hw_block_size was added along with 9c1cd1b68
"target/user: Only support full command pass-through", though default
setting override the user specified value during the enabling of device,
which called by target_configure_device() to set block_size matching
hw_block_size, result in user not able to set different block size other
than default 512.
This patch would use existing hw_block_size value if already set, otherwise
it would be set to default value(512).
Update: Fix the coding style issue.
(Drop unnecessary re-export of dev->dev_attrib.block_size - nab)
Signed-off-by: Sheng Yang <[email protected]>
Cc: Andy Grover <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions