+ Bumyong who is the original author of the patch.
Hi Dominique,
> Thanks!
> (a bit late, but added Chanho Park in Cc...)
>
> I can confirm it also works for our caam problem, as Horia said.
>
> I've also come to term with the use of swiotlb_align_offset() through
> te
삼성 보안 문서
삼성 보안 문서는 PDF로 암호화 됩니다.보안문서 열람을 위해 인증 방법 및 필수 설치프로그램을 확인하여 주십시오.
1. 보안문서를 조회하려면 본인인증이 필요합니다.
- Knox Portal 사용자 : Knox Portal 아이디 + 비밀번호
- 미사용자 : E-mail주소 + *사전등록 비밀번호
*사전등록 비밀번호 : 별도 수신한 '삼성 보안 문서 열람을 위한 등록안내' 메일 참고
(RESEND due to wrong encrypted message setting)
Hi,
> On Mon, May 10, 2021 at 05:30:57PM +0900, Chanho Park wrote:
> > +static unsigned int swiotlb_align_offset(struct device *dev, u64
> > +addr);
>
> Please just move swiotlb_align_offset up to avoid the forward declarat
0 ("swiotlb: don't modify orig_addr in
swiotlb_tbl_sync_single")
Signed-off-by: Bumyong Lee
Signed-off-by: Chanho Park
---
Changes since v1:
- Move swiotlb_align_offset to avoid forward declaration
- Make tlb_offset calculation as single assignment
kernel/dma/swiotlb.c | 23 +++
er
+---+---+
tlb_addr
|<- offset ->|<- size ->|
+---+
||##| | original buffer
+---+
vaddr
Fixes: 16fc3cef33a0 ("swiotlb: do