lsaxl
    @lsaxl:我的意思是__clk_lookup就可以找到clk,为何还使用如下两个组合 原来的clk_register + clk_register_clkdev的组合变成了clk_register + of_clk_add_provider的组合
    Common Clock Framework系统结构  发表时间:2017-09-11 16:14
    lsaxl
    驱动里大都使用clk_get 为什么还要单独维护,而不使用__clk_lookup这个接口呢
    Common Clock Framework系统结构  发表时间:2017-09-11 16:07
    迷途凡人
    @linuxer,关于reserved-memory节点,查看了Documentation\devicetree\bindings\reserved-memory\reserved-memory.txt和代码后, 有几个疑问: 平台的设备树中reserved-mem下有以下三种类型的子节点 1.other_ext_mem: other_ext_region@0 { compatible = "removed-dma-pool"; no-map; reg = <0x0 0x85b00000 0x0 0xd00000>; }; 2.qseecom_mem: qseecom_region@0 { compatible = "shared-dma-pool"; reusable; alignment = <0 0x400000>; size = <0 0x1000000>; }; 3.cont_splash_mem: splash_region@0x90001000 { reg = <0x0 0x90001000 0x0 0x13ff000>; label = "cont_splash_mem"; }; 1)对于compatible = "removed-dma-pool"属性的节点,其内存不会统计在 /proc/meminfo/MemTotal中吧? 2)对于compatible = "shared-dma-pool" 和 reusable属性的节点,按照您的文章的意思,当该节点不被驱动使用的时候,其大小会被统计在 /proc/meminfo/MemAvailable中吧? 3)对于第三种无compatible属性的节点,其内存大小会被怎么统计??
    CMA模块学习笔记  发表时间:2017-09-11 15:21
    风中尘埃
    前辈你好,设备树解析(解析gpio)的时候,设备出现900E(砖头),这个如何定位。
    《奔跑吧,Linux内核》已经上架预售了  发表时间:2017-09-11 14:39
    dong
    @wowo:1、Physical channel page46 All Bluetooth physical channels are characterized by a PHY frequency combined with temporal parameters and restricted by spatial considerations. 我的理解就是说,它是由不同时间点所处频段组合而成的序列,是分时+跳频结合的产物。 2、LE physical channel page52 In the core system,two Bluetooth devies use a shared physical channel for communication.To achieve this,their transceivers need to be tuned to the same PHY frequency at the same time,and they need to be within a nominal range of each other. 我的理解和上面Physical channel一样。 3、LE piconet channel page52-53 Two LE physical channels are defined. The LE piconet channel is characterized by a pseudo-random sequence of PHY channels and by three additional parameters provided by the master. There are 37 LE piconet channels. 这里完全懵了,这个LE piconet channel是什么玩意?如果说是physical channel中的一类,那这个37又是什么?如果说是Rf channel,pseudo-random sequence这些又是什么? 4、LE Piconet Physical Channel page74,Figure 4.2 Unlike BR/EDR slaves,LE slaves do not share a common physical channel with the master.Each slave communicates on a separate physical channel with the master. 按照wowo的说法,这里"a common physical channel"指的是master和slave各自的physical channel(跳频序列)共同决定而得出的一个所谓LE piconet Physical Channel ? 第3点的一些说法,感觉推翻了我之前对piconet channel的理解。这协议说的我好醉呀,在说什么晕死。
    蓝牙协议分析(2)_协议架构  发表时间:2017-09-11 13:40
    Rafe
    @wowo:Hi wowo, 非常感谢回复。 是这样的,目前用户空间和kernel空间都没有timeout机制,suspend的进入完全由用户空间根据收到kernel的消息来控制。例如kernel发出一个1,用户空间判断是1才会让系统进入suspend.也就是说发送的event并没有在kernel阻止休眠或是重新进入休眠的状态,它只是发送消息,让用户空间去处理。 而我现在困惑的点是,kernel被唤醒了(例如是被USB唤醒的吧),这个时候,用户空间要根据USB的状态来做一些处理,那么USB driver就通过uevent发送了状态改变的消息,但是这个时候用户空间还没有resume完全,接收USB driver发送消息的进程还没resume,那么这个时候USB driver发送的消息是否就丢失了?用户空间也就接收不到这个消息了? 另外我们的uevent发送机制,会将数据存放起来,直到有人去获取?
    系统休眠(System Suspend)和设备中断处理  发表时间:2017-09-11 12:07
    wowo
    @Rafe:其实这是一个应用层面的事情,和kernel的机制已经无关了: 上报event可以唤醒系统,也可以阻止系统休眠; 如果这个event有timeout,则系统会在timeout之后重新休眠,除非其它模块重新报一个event(例如拿一把锁); 如果这个event没有timeout,则会一直阻止系统休眠,直到有人把这个event清除(例如driver把数据放在某一个位置,并上报event,app读取数据的时候,顺便清除event。 如果理解了原理,我们有N多种方法保证你所提到的这种同步。当然,如果什么都不考虑、不去做,系统出问题是很正常的。
    系统休眠(System Suspend)和设备中断处理  发表时间:2017-09-11 11:10
    Rafe
    @Rafe:@wowo @linuxer 我想了一下,这是不是跟uevent的上报机制有关?这样问吧,当我们用uevent上报数据的时候,如果用户空间还没有resume,那么我们上报的数据这个时候去哪里了?是阻塞在那里或者说存储在了什么地方,等待用户空间来读取吗?
    系统休眠(System Suspend)和设备中断处理  发表时间:2017-09-11 10:06
    wowo
    @dong:其实你贴出来的这几段话里面,没有提到“piconet physical channel”,而是“physical channel”,蓝牙spec的用词有的时候确实有些随意,导致读起来有些困惑。 关于“piconet channel”和“piconet physical channel”,你的理解是对的,一个是指37个RF信道(可以为所有的LE设备共享),一个是跳频序列所定义的物理信道。 不过对于物理信道来说,page74强调的是: master和slave并不共享物理信道(这个和BR/EDR不一样),也就是说,master有自己的跳频序列,每一个slave也有自己的跳频序列。只有这样做,才可以出现比较复杂的拓扑结构:“1个master对多个slave、1个slave对多个master、等等”。
    蓝牙协议分析(2)_协议架构  发表时间:2017-09-11 09:48
    Rafe
    @wowo @linuxer 请教一个问题: 当有中断唤醒系统的时候,我们要把该event上报到App层(通过uevent),那么这个时候如何保证App层能收到该事件? resume的过程,应该是kernel先resume,然后App才resume,那么上报event的时候,App岂不是存在没有ready的情况?
    系统休眠(System Suspend)和设备中断处理  发表时间:2017-09-11 09:41

共7862条245/787上一页 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 下一页
Copyright @ 2013-2015 蜗窝科技 All rights reserved. Powered by emlog