aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBastian Stender <[email protected]>2018-03-08 15:08:11 +0100
committerUlf Hansson <[email protected]>2018-03-15 14:43:24 +0100
commita0e9576634f0bcfa5c4d8efdcf8c9b28298d7570 (patch)
tree2b660ad550a0197315156c115a86a8debfacb9bc /tools/perf/scripts/python/export-to-sqlite.py
parentcb1214d27a3ef8817a7a208d546aa9f947bf5f7d (diff)
mmc: block: fix updating ext_csd caches on ioctl call
PARTITION_CONFIG is cached in mmc_card->ext_csd.part_config and the currently active partition in mmc_blk_data->part_curr. These caches do not always reflect changes if the ioctl call modifies the PARTITION_CONFIG registers, e.g. by changing BOOT_PARTITION_ENABLE. Write the PARTITION_CONFIG value extracted from the ioctl call to the cache and update the currently active partition accordingly. This ensures that the user space cannot change the values behind the kernel's back. The next call to mmc_blk_part_switch() will operate on the data set by the ioctl and reflect the changes appropriately. Signed-off-by: Bastian Stender <[email protected]> Signed-off-by: Jan Luebbe <[email protected]> Cc: [email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions