dy1224
    希望博主可以发布一下I2C出错之后的信息解析
    Linux I2C framework(2)_I2C provider  发表时间:2016-04-15 14:17
    wowo
    @tigger:我就是瞎掰一下,当不得真,呵呵~~
    蓝牙协议分析(4)_IPv6 Over BLE介绍  发表时间:2016-04-15 09:18
    david
    @bsp:@bsp.看了一下GIC spec. 比较清楚了,GIC不会把正在active/active and pending的 IRQ在signal给任何的CPU的。所以同一个irq在GIC这边也只能串行的分配给CPU的。 A CPU interface never signals to the connected processor any interrupt that is active and pending. It only signals interrupts that are pending and have sufficient priority: • For PPIs and SGIs, the active status of particular interrupt ID is banked between CPU interfaces. This means that if a particular interrupt ID is active or active and pending on a CPU interface, then no interrupt with that same ID is signaled on that CPU interface. • For SPIs, the active status of an interrupt is common to all CPU interfaces. This means that if an interrupt is active or active and pending on one CPU interface then it is not signaled on any CPU interface.
    tigger
    它总是以后来者的身份出现,很喜欢打仗,而且还不落下风(有点像某讯的风格) 这个比喻真贴切啊,我是挺佩服某讯的。
    蓝牙协议分析(4)_IPv6 Over BLE介绍  发表时间:2016-04-14 11:59
    wowo
    @Wokky:多谢,大家一起努力~~
    关于蜗窝  发表时间:2016-04-14 11:29
    Harm
    有个问题请教下:如果把HCR.IMO bit置为1去拦截特殊的中断,当中断发生时,cpu就会进入HYP mode,在hyp irq hanlder里面需要怎么做才能把其余(非特殊)的中断交还给kerenl处理?
    Harm
    楼主对ARM很熟悉啊 赞一个
    Wokky
    最近也是公司开始做Linux平台的项目。以前只是听说Linux从来没学习和接触过,现在作为一个完全的新人进入这个领域。发现这里的天地很广阔,linux的代码很多还无法理解,目前正在边做边研究。这里势必将成为我获取知识的一个大站。感谢无私的贡献!正是这样我想我们中国的芯片和操作系统也越来越有希望!
    关于蜗窝  发表时间:2016-04-14 00:02
    bsp
    @ayeu0425:1、arm的GIC一般是GIC一般支持,软件操作GIC的对应寄存器来 使能对应中断的pending位; 2、针对FIQ下 不能调用相应变量,可以从FIQ模式下切换到SVC模式,再去调用。这点可参考google的glue-fiq,其作用是用于记录系统 咬狗时的临终遗言。
    bsp
    @david:1、硬中断到达CPU时,cpu硬件会关闭local-irq(CPSR_I置1)、更新LR、设置PC到相应异常向量,然后才会进入entry-armv.S中的汇编代码中。除非代码将本地中断打开,否则硬中断流程中不会响应其它任何中断的(3.10内核)。 2、GIC的中断状态: Inactive,中断尚未激活或挂起; Pending,中断已经由硬件或者软件产生,正等待目标CPU处理; Active,CPU已经应答(Acknowledge)来自GIC的中断,该中断正在被CPU处理但尚未完成; Active&Pending,CPU正在处理该中断,此时GIC又收到来自该中断源的中断; 第四种是你说的情况,CPU处理中断过程中(本地中断关闭,禁止中断抢占)、同一中断又产生时,GIC会分配其给相应CPU,只不过CPU要等到 本中断处理完成 才会处理下一个中断。 cpu-core和GIC,是SOC上的两个独立的不同单元。 3、有的关注实时性的定制内核,在处理硬中断时 会将本地中断打开、允许中断抢占;这时只有高优先级中断到来时、才会打断本中断流程,中断嵌套次数也有控制(一般3次)。 硬中断流程被打断时,cpu处理完高优先级的中断后 又返回到这个原来本打断的地方 继续原来的硬中断流程。 这个第3点不用关注哈,仅作了解。

共7880条459/788上一页 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 245 246 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 459460 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 788 下一页
Copyright @ 2013-2015 蜗窝科技 All rights reserved. Powered by emlog