Loading drivers/mmc/card/queue.c +5 −0 Original line number Diff line number Diff line Loading @@ -314,6 +314,8 @@ void mmc_cmdq_setup_queue(struct mmc_queue *mq, struct mmc_card *card) host->max_req_size / 512)); blk_queue_max_segment_size(mq->queue, host->max_seg_size); blk_queue_max_segments(mq->queue, host->max_segs); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); } /** Loading Loading @@ -483,6 +485,9 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, success: sema_init(&mq->thread_sem, 1); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); /* hook for pm qos legacy init */ if (card->host->ops->init) card->host->ops->init(card->host); Loading include/linux/mmc/host.h +2 −0 Original line number Diff line number Diff line Loading @@ -652,6 +652,8 @@ struct mmc_host { void *cmdq_private; struct mmc_request *err_mrq; bool inlinecrypt_support; /* Inline encryption support */ atomic_t rpmb_req_pending; struct mutex rpmb_req_mutex; unsigned long private[0] ____cacheline_aligned; Loading Loading
drivers/mmc/card/queue.c +5 −0 Original line number Diff line number Diff line Loading @@ -314,6 +314,8 @@ void mmc_cmdq_setup_queue(struct mmc_queue *mq, struct mmc_card *card) host->max_req_size / 512)); blk_queue_max_segment_size(mq->queue, host->max_seg_size); blk_queue_max_segments(mq->queue, host->max_segs); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); } /** Loading Loading @@ -483,6 +485,9 @@ int mmc_init_queue(struct mmc_queue *mq, struct mmc_card *card, success: sema_init(&mq->thread_sem, 1); if (host->inlinecrypt_support) queue_flag_set_unlocked(QUEUE_FLAG_INLINECRYPT, mq->queue); /* hook for pm qos legacy init */ if (card->host->ops->init) card->host->ops->init(card->host); Loading
include/linux/mmc/host.h +2 −0 Original line number Diff line number Diff line Loading @@ -652,6 +652,8 @@ struct mmc_host { void *cmdq_private; struct mmc_request *err_mrq; bool inlinecrypt_support; /* Inline encryption support */ atomic_t rpmb_req_pending; struct mutex rpmb_req_mutex; unsigned long private[0] ____cacheline_aligned; Loading